hello-world/Dockerfile
2020-08-10 00:26:49 +02:00

23 lines
No EOL
667 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
ARG \
GIT_COMMIT=\
BUILD_DATE=
# 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://gitea.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