Compare commits
2 Commits
1fc15c896a
...
3e2cb30f97
Author | SHA1 | Date | |
---|---|---|---|
3e2cb30f97 | |||
a3b88f1267 |
@ -11,7 +11,7 @@ RUN go build \
|
|||||||
.
|
.
|
||||||
RUN echo "nobody:x:65534:65534:Nobody:/:" > /etc_passwd
|
RUN echo "nobody:x:65534:65534:Nobody:/:" > /etc_passwd
|
||||||
|
|
||||||
FROM alpine:3.19 as compressor
|
FROM alpine:3.20 as compressor
|
||||||
RUN apk add --no-cache upx binutils
|
RUN apk add --no-cache upx binutils
|
||||||
COPY --from=builder --chown=65534:0 /bin/app /app
|
COPY --from=builder --chown=65534:0 /bin/app /app
|
||||||
RUN strip /app && upx -q -9 /app
|
RUN strip /app && upx -q -9 /app
|
||||||
|
Loading…
Reference in New Issue
Block a user