Files
linuxkit/pkg/ca-certificates/Dockerfile
Justin Cormack 713046e158 Update ca-certificates to be based on Alpine and use nested build
We were using Debian but Alpine more consistent. Use nested build.

Currently extract the hash in a nasty way but this can be fixed later
when we switch over hashing method.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-26 15:24:26 +01:00

9 lines
206 B
Docker

FROM alpine:3.5 as alpine
RUN apk update && apk upgrade -a && apk add --no-cache ca-certificates
FROM scratch
ENTRYPOINT []
WORKDIR /
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/