This commit is contained in:
@@ -6,7 +6,6 @@ RUN go mod tidy
|
|||||||
RUN CGO_ENABLED=1 go build --ldflags '-linkmode external -extldflags=-static'
|
RUN CGO_ENABLED=1 go build --ldflags '-linkmode external -extldflags=-static'
|
||||||
RUN mkdir -p /usr/src/app/work/
|
RUN mkdir -p /usr/src/app/work/
|
||||||
RUN cp /usr/src/app/rgb/rgb /usr/src/app/work/rgb
|
RUN cp /usr/src/app/rgb/rgb /usr/src/app/work/rgb
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=builder /usr/src/app/rgb/rgb /usr/src/app/work/
|
COPY --from=builder /usr/src/app/rgb/rgb /usr/src/app/work/
|
||||||
COPY --from=builder /usr/src/app/rgb/mari* /usr/src/app/work/
|
COPY --from=builder /usr/src/app/rgb/mari* /usr/src/app/work/
|
||||||
|
|||||||
Reference in New Issue
Block a user