mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-26 17:45:34 +00:00
Also add ca-certificates to base, needed to use `dist` to pull. Make two stage builds for `containerd` and `runc` so they have a from `scratch` second stage. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
8 lines
310 B
Docker
8 lines
310 B
Docker
FROM debian:testing
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update && apt-get -yq upgrade && apt-get install -yq ca-certificates
|
|
|
|
RUN printf "FROM scratch\nCOPY /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/\n" > Dockerfile
|
|
CMD ["tar", "cf", "-", "Dockerfile", "etc/ssl/certs/ca-certificates.crt"]
|