Use slightly more sophisticated Dockerfile
This commit is contained in:
parent
eb4c997d83
commit
25da189c7b
1 changed files with 7 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue