We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e2496a2 + 75caac9 commit 958a531Copy full SHA for 958a531
Dockerfile
@@ -1,6 +1,4 @@
1
-FROM golang:1.19 as build-stage
2
-
3
-RUN apt-get update && apt-get install -y --no-install-recommends upx
+FROM golang:1.20 as build-stage
4
5
WORKDIR /src
6
ENV GO111MODULE=on CGO_ENABLED=0
@@ -17,8 +15,6 @@ RUN go build \
17
15
18
16
RUN strip /bin/action
19
20
-RUN upx -q -9 /bin/action
21
22
FROM scratch
23
COPY --from=build-stage /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
24
COPY --from=build-stage /bin/action /bin/action
0 commit comments