diff options
| author | Shyam Sunder <sgsunder1@gmail.com> | 2019-10-04 18:58:05 -0400 |
|---|---|---|
| committer | Shyam Sunder <sgsunder1@gmail.com> | 2019-10-04 19:52:57 -0400 |
| commit | 9c044003693a945e8508cb7a5a9829fdb802e2c8 (patch) | |
| tree | 894fab6da7a8f8c52caba034048bbcf17fd378f2 /client/Dockerfile | |
| parent | 91f5a4245941ee460580f92bd73fe5e81b6bcfac (diff) | |
docker: added OCI-compatible image labels
See https://github.com/opencontainers/image-spec/blob/master/annotations.md
Diffstat (limited to 'client/Dockerfile')
| -rw-r--r-- | client/Dockerfile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/client/Dockerfile b/client/Dockerfile index 7d07bd9..5f02753 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -29,3 +29,16 @@ COPY --from=approot / / CMD ["/docker-start.sh"] VOLUME ["/data"] + +ARG DOCKER_REPO +ARG BUILD_DATE +ARG SOURCE_COMMIT +LABEL \ + maintainer="" \ + org.opencontainers.image.title="${DOCKER_REPO}" \ + org.opencontainers.image.url="https://github.com/rr-/szurubooru" \ + org.opencontainers.image.documentation="https://github.com/rr-/szurubooru/blob/${SOURCE_COMMIT}/doc/INSTALL.md" \ + org.opencontainers.image.created="${BUILD_DATE}" \ + org.opencontainers.image.source="https://github.com/rr-/szurubooru" \ + org.opencontainers.image.revision="${SOURCE_COMMIT}" \ + org.opencontainers.image.licenses="GPL-3.0" |