diff --git a/Dockerfile b/Dockerfile index ae31d86..dcc3cc1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # image used for the healthcheck binary -FROM golang:1.17.5-alpine AS gobuilder +FROM golang:1.22.3-alpine AS gobuilder COPY healthcheck/ /go/src/healthcheck/ RUN CGO_ENABLED=0 GO111MODULE=auto go build -trimpath -ldflags '-w -s -extldflags "-static"' -o /healthcheck /go/src/healthcheck/