diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-26 09:23:10 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-26 09:23:10 -0600 |
| commit | 1cfa3bc4ee938c372d3cb539169dc7a48a277667 (patch) | |
| tree | e33dca55a27ad168c322c45fc87fd53309c88a8b /Dockerfile | |
| parent | 3724af53df29f7be507e9dc55adbc81e9b694cd6 (diff) | |
chore: use dumb-init to manage pid 1
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"] |
