diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 00700384..516b7529 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,4 +1,5 @@ FROM alpine:latest +LABEL org.opencontainers.image.source="https://github.com/garethgeorge/backrest" RUN apk --no-cache add tini ca-certificates curl bash rclone openssh tzdata docker-cli RUN mkdir -p /tmp COPY backrest /backrest diff --git a/Dockerfile.scratch b/Dockerfile.scratch index e58c53ea..950883ff 100644 --- a/Dockerfile.scratch +++ b/Dockerfile.scratch @@ -5,7 +5,8 @@ COPY backrest /backrest RUN /backrest --install-deps-only RUN mkdir -p /bin && mv /root/.local/share/backrest/* /bin -FROM scratch +FROM scratch +LABEL org.opencontainers.image.source="https://github.com/garethgeorge/backrest" COPY --from=alpine /tmp-orig /tmp COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=alpine /bin /bin @@ -13,4 +14,4 @@ COPY --from=alpine /sbin/tini-static /tini COPY backrest /backrest ENTRYPOINT ["/tini", "--"] -CMD ["/backrest", "--bind-address", ":9898"] \ No newline at end of file +CMD ["/backrest", "--bind-address", ":9898"]