mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-15 15:58:57 +00:00
docker: copy tini from another base
And avoid having apt data in the final container
This commit is contained in:
@@ -61,10 +61,13 @@ FROM debian:stable-slim
|
|||||||
RUN apt-get update -yq && \
|
RUN apt-get update -yq && \
|
||||||
apt-get install -yq tini
|
apt-get install -yq tini
|
||||||
|
|
||||||
|
FROM debian:stable-slim
|
||||||
|
|
||||||
# copy ca certificates
|
# copy ca certificates
|
||||||
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
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=0 /browser/zig-out/bin/lightpanda /bin/lightpanda
|
||||||
|
COPY --from=1 /usr/bin/tini /usr/bin/tini
|
||||||
|
|
||||||
EXPOSE 9222/tcp
|
EXPOSE 9222/tcp
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user