diff --git a/Dockerfile b/Dockerfile index 84ebfdee..fb24b4bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build -FROM golang:1.21 as builder +FROM golang:1.22 as builder WORKDIR /go/src/sshportal COPY . ./ RUN go build -ldflags="-X main.GitSha=$(git rev-parse --short HEAD) -X main.GitTag=$(git describe --tags --always) -extldflags '-static' -w -s" -tags osusergo,netgo,sqlite_omit_load_extension -v -o /go/bin/sshportal