mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 02:16:28 +02:00
Update our Dockerfiles to debian12 distroless base images and remove the ca-certificates workaround (Debian 12 has dropped the problematic expired root certificate).
10 lines
435 B
Text
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"]
|