From ced402e4b903c324e1f930db71c110e2e899c280 Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Wed, 21 Feb 2024 19:04:54 +0000 Subject: [PATCH] Disable upgrading dependencies on container building --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 2c04042..251b626 100644 --- a/Containerfile +++ b/Containerfile @@ -12,7 +12,7 @@ WORKDIR /go/src/github.com/dutchcoders/transfer.sh ENV GO111MODULE=on # build & install server -RUN go get -u ./... && CGO_ENABLED=0 go build -ldflags -a -tags netgo -ldflags '-w -extldflags "-static"' -o /go/bin/transfersh github.com/dutchcoders/transfer.sh +RUN go get ./... && CGO_ENABLED=0 go build -ldflags -a -tags netgo -ldflags '-w -extldflags "-static"' -o /go/bin/transfersh github.com/dutchcoders/transfer.sh FROM scratch AS final LABEL maintainer="Andrea Spacca "