apt-get install wget -> apt-get upgrade -y
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM golang:1.24.3-bookworm AS builder
|
||||
ARG GIT_SHA="<not provided>"
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends --no-install-suggests wget
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
|
||||
ADD client /src/client
|
||||
ADD cmd /src/cmd
|
||||
@@ -11,7 +11,6 @@ ADD store /src/store
|
||||
ADD go.mod /src/.
|
||||
ADD go.sum /src/.
|
||||
|
||||
|
||||
RUN cd /src && go mod tidy
|
||||
RUN cd /src && go build \
|
||||
-ldflags "-X git.sr.ht/~cwpearson/replicate-jump-server/config.gitSHA=${GIT_SHA} -X git.sr.ht/~cwpearson/replicate-jump-server/config.buildDate=$(date +%Y-%m-%d)" \
|
||||
|
Reference in New Issue
Block a user