~nickbp/kapiti

6c95e9a8c8773fa582d45f6f9399f63a0333d8fe — Nick Parker 2 years ago 8151d12
Include ca-certificates in docker image: for DoH upstream client
1 files changed, 4 insertions(+), 0 deletions(-)

M Dockerfile
M Dockerfile => Dockerfile +4 -0
@@ 24,5 24,9 @@ RUN cd /originz && cargo build --release
# Debian version needs to match builder image to avoid linker issues.

FROM docker.io/library/debian:bullseye-slim
RUN apt-get update \
  && apt-get install -y ca-certificates \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists /var/cache/apt/archives
COPY --from=0 /originz/target/release/originz /originz
RUN chmod +x /originz && /originz --version