pomerium/.github/Dockerfile-release
Kenneth Jenkins 30cd8a8472
ci: remove ca-certificates workaround (#4488)
Update our Dockerfiles to debian12 distroless base images and remove the
ca-certificates workaround (Debian 12 has dropped the problematic
expired root certificate).
2023-09-18 15:47:10 -07:00

10 lines
435 B
Text

FROM busybox:latest@sha256:caa382c432891547782ce7140fb3b7304613d3b0438834dce1cad68896ab110a as build
RUN touch /config.yaml
FROM gcr.io/distroless/base-debian12:latest@sha256:d64f5483d2fd0cec2260941c443cb2947102e46e1a9fe36a321d0a788c1a49e0
ENV AUTOCERT_DIR /data/autocert
WORKDIR /pomerium
COPY pomerium /bin/
COPY --from=build /config.yaml /pomerium/config.yaml
ENTRYPOINT [ "/bin/pomerium" ]
CMD ["-config","/pomerium/config.yaml"]