Multi-stage build image to create the Portainer base image. NOTE: the image is based on scratch.
500K+
FROM alpine:latest as base
RUN apk --no-cache --update upgrade && apk --no-cache add ca-certificates
RUN mkdir /buildtmp
FROM scratch
COPY --from=base /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=base /buildtmp /tmp