diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,6 +8,7 @@ RUN go build -o /bin/authzd ./cmd/authzd/main.go FROM envoyproxy/envoy:v1.34-latest EXPOSE 8080 9901 10000 10003 +RUN apt-get update && apt-get install -y dumb-init && rm -rf /var/lib/apt/lists/* WORKDIR /opt/sparkle/ RUN mkdir -p bin etc public COPY --from=build /bin/authzd bin/authzd @@ -16,4 +17,5 @@ COPY --from=build /app/public public COPY etc/ etc COPY bin/*.sh bin/ RUN chmod +x bin/*.sh +ENTRYPOINT ["/usr/bin/dumb-init", "--"] CMD ["/opt/sparkle/bin/entrypoint.sh"] |
