diff --git a/Dockerfile b/Dockerfile index c1fa46a..94fe40c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,4 @@ -FROM golang:1.19 as build-stage - -RUN apt-get update && apt-get install -y --no-install-recommends upx +FROM golang:1.20 as build-stage WORKDIR /src ENV GO111MODULE=on CGO_ENABLED=0 @@ -17,8 +15,6 @@ RUN go build \ RUN strip /bin/action -RUN upx -q -9 /bin/action - FROM scratch COPY --from=build-stage /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY --from=build-stage /bin/action /bin/action