mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-27 22:29:31 +08:00
Add OCI labels to local Dockerfile
Updated image labels to conform with Open Container Initiative standards and added version argument.
This commit is contained in:
+11
-2
@@ -1,7 +1,16 @@
|
||||
FROM alpine:3.23
|
||||
|
||||
LABEL maintainer="Roger Light <roger@atchoo.org>" \
|
||||
description="Eclipse Mosquitto MQTT Broker"
|
||||
ARG VERSION
|
||||
|
||||
LABEL \
|
||||
org.opencontainers.image.authors="Roger Light <roger@atchoo.org>" \
|
||||
org.opencontainers.image.title="eclipse-mosquitto" \
|
||||
org.opencontainers.image.description="Eclipse Mosquitto MQTT Broker" \
|
||||
org.opencontainers.image.url="https://mosquitto.org/" \
|
||||
org.opencontainers.image.documentation="https://mosquitto.org/documentation/" \
|
||||
org.opencontainers.image.source="https://github.com/eclipse-mosquitto/mosquitto" \
|
||||
org.opencontainers.image.licenses="EPL-2.0 OR BSD-3-Clause" \
|
||||
org.opencontainers.image.version=${VERSION}
|
||||
|
||||
COPY mosq.tar.gz /tmp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user