From 25da189c7b1c7d94c2b31f0bc55659a4fc027fc1 Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 9 Aug 2020 21:26:38 +0200 Subject: [PATCH] Use slightly more sophisticated Dockerfile --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index fbd56bb..a336e58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,8 @@ +FROM debian:latest AS builder + +RUN cat /etc/issue + + FROM scratch ARG GIT_COMMIT= @@ -7,4 +12,6 @@ LABEL \ 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 \ No newline at end of file