build: External labels

This commit is contained in:
Kroese 2023-11-29 03:11:54 +01:00 committed by GitHub
parent 1cebedf097
commit 982c97861c

View file

@ -31,18 +31,10 @@ ENV DISK_SIZE "16G"
ENV RAM_SIZE "512M"
ENV BOOT "http://www.example.com/image.iso"
ARG DATE_ARG=""
ARG BUILD_ARG=0
ARG VERSION_ARG="0.0"
ENV VERSION=$VERSION_ARG
LABEL org.opencontainers.image.licenses="MIT"
LABEL org.opencontainers.image.title="QEMU for Docker"
LABEL org.opencontainers.image.created=${DATE_ARG}
LABEL org.opencontainers.image.revision=${BUILD_ARG}
LABEL org.opencontainers.image.version=${VERSION_ARG}
LABEL org.opencontainers.image.url="https://hub.docker.com/r/qemux/qemu-docker/"
LABEL org.opencontainers.image.source="https://github.com/qemu-tools/qemu-docker/"
LABEL org.opencontainers.image.description="QEMU in a docker container using KVM acceleration"
ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]