Skip to content

Commit 4ee1bdf

Browse files
committed
chore: add OCI standard labels to Dockerfile templates
Signed-off-by: Erwan Hervé <erwan.herve+claude@outlook.fr>
1 parent 17c2c59 commit 4ee1bdf

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Dockerfile-debian.template

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,5 +164,14 @@ RUN set -ex; \
164164
COPY *.sh upgrade.exclude /
165165
COPY config/* /usr/src/nextcloud/config/
166166

167+
LABEL org.opencontainers.image.title="Nextcloud" \
168+
org.opencontainers.image.description="A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms." \
169+
org.opencontainers.image.url="https://nextcloud.com" \
170+
org.opencontainers.image.source="https://github.com/nextcloud/docker" \
171+
org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \
172+
org.opencontainers.image.vendor="Nextcloud GmbH" \
173+
org.opencontainers.image.licenses="AGPL-3.0-or-later" \
174+
org.opencontainers.image.version="%%VERSION%%"
175+
167176
ENTRYPOINT ["/entrypoint.sh"]
168177
CMD ["%%CMD%%"]

0 commit comments

Comments
 (0)