diff --git a/build/Dockerfile b/build/Dockerfile index 23281429c4..9f0fcf7ba8 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -14,7 +14,7 @@ COPY internal /go/src/github.com/nginxinc/nginx-kubernetes-gateway/internal COPY pkg /go/src/github.com/nginxinc/nginx-kubernetes-gateway/pkg RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -a -ldflags "-s -w -X main.version=${VERSION} -X main.commit=${GIT_COMMIT} -X main.date=${DATE}" -o gateway . -FROM alpine:3.17 as capabilizer +FROM alpine:3.18 as capabilizer RUN apk add --no-cache libcap FROM capabilizer as local-capabilizer