mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 03:35:47 +00:00
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>
9 lines
206 B
Docker
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/
|