hello-world/Dockerfile

17 lines
470 B
Text
Raw Normal View History

FROM debian:latest AS builder
RUN cat /etc/issue
2020-08-09 15:52:54 +02:00
FROM scratch
2020-08-09 20:51:19 +02:00
ARG GIT_COMMIT=
2020-08-09 21:10:42 +02:00
# Image annotations, see https://github.com/opencontainers/image-spec/blob/master/annotations.md
2020-08-09 20:51:19 +02:00
LABEL \
2020-08-09 21:10:42 +02:00
org.opencontainers.image.vendor=Zombi \
org.opencontainers.image.source=https://gitea.zom.bi/images/hello-world.git \
org.opencontainers.image.revision=$GIT_COMMIT
2020-08-09 20:51:19 +02:00
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
2020-08-09 15:52:54 +02:00
ENV HELLO=world