diff --git a/Dockerfile b/Dockerfile index a9f2330c..15b2a8a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,3 +30,4 @@ FROM gcr.io/distroless/static:nonroot COPY --from=build --chown=nonroot /go/src/alloydb-auth-proxy/alloydb-auth-proxy /alloydb-auth-proxy # set the uid as an integer for compatibility with runAsNonRoot in Kubernetes USER 65532 +ENTRYPOINT ["/alloydb-auth-proxy"] diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 9511fa9f..cd840a50 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -38,3 +38,4 @@ RUN addgroup -g 65532 -S nonroot && adduser -u 65532 -S nonroot -G nonroot USER 65532 COPY --from=build --chown=nonroot /go/src/alloydb-auth-proxy/alloydb-auth-proxy /alloydb-auth-proxy +ENTRYPOINT ["/alloydb-auth-proxy"] diff --git a/Dockerfile.buster b/Dockerfile.buster index c20d9fc1..5cff1ae9 100644 --- a/Dockerfile.buster +++ b/Dockerfile.buster @@ -36,3 +36,4 @@ RUN groupadd -g 65532 -r nonroot && useradd -u 65532 -g 65532 -r nonroot USER 65532 COPY --from=build --chown=nonroot /go/src/alloydb-auth-proxy/alloydb-auth-proxy /alloydb-auth-proxy +ENTRYPOINT ["/alloydb-auth-proxy"]