22 lines
No EOL
749 B
Docker
22 lines
No EOL
749 B
Docker
FROM debian:latest AS builder
|
|
|
|
RUN \
|
|
apt-get --yes update &&\
|
|
apt-get --yes install ca-certificates &&\
|
|
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
FROM scratch
|
|
|
|
# these values will be replaced by the automatic build pipeline.
|
|
ARG GIT_COMMIT=unknown
|
|
ARG BUILD_DATE=0001-01-01T00:00:00Z
|
|
# Image annotations, see https://github.com/opencontainers/image-spec/blob/master/annotations.md
|
|
LABEL \
|
|
org.opencontainers.image.vendor=Zombi \
|
|
org.opencontainers.image.created=$BUILD_DATE \
|
|
org.opencontainers.image.source=https://git.zom.bi/images/hello-world.git \
|
|
org.opencontainers.image.revision=$GIT_COMMIT
|
|
|
|
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
|
|
|
ENV HELLO=world |