Skip to content

Commit f6293ea

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

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Dockerfile-alpine.template

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

156+
LABEL org.opencontainers.image.title="Nextcloud" \
157+
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." \
158+
org.opencontainers.image.url="https://nextcloud.com" \
159+
org.opencontainers.image.source="https://github.com/nextcloud/docker" \
160+
org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \
161+
org.opencontainers.image.vendor="Nextcloud GmbH" \
162+
org.opencontainers.image.licenses="AGPL-3.0-or-later" \
163+
org.opencontainers.image.version="%%VERSION%%"
164+
156165
ENTRYPOINT ["/entrypoint.sh"]
157166
CMD ["%%CMD%%"]

0 commit comments

Comments
 (0)