mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
docker: added OCI-compatible image labels
See https://github.com/opencontainers/image-spec/blob/master/annotations.md
This commit is contained in:
@ -42,3 +42,16 @@ ENV PORT=${PORT}
|
||||
EXPOSE ${PORT}
|
||||
VOLUME ["/data/"]
|
||||
CMD ["/opt/app/docker-start.sh"]
|
||||
|
||||
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"
|
||||
|
Reference in New Issue
Block a user