From d8d07fb095326abebefc7bf74b4b0ec41455abf2 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Mon, 8 Dec 2025 18:26:37 +0100 Subject: [PATCH] docker: copy tini from another base And avoid having apt data in the final container --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index b360785c..a6f6e348 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,10 +61,13 @@ FROM debian:stable-slim RUN apt-get update -yq && \ apt-get install -yq tini +FROM debian:stable-slim + # copy ca certificates COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY --from=0 /browser/zig-out/bin/lightpanda /bin/lightpanda +COPY --from=1 /usr/bin/tini /usr/bin/tini EXPOSE 9222/tcp