From 68b7a8f8bc561a62cb76c91f7ed9b61f6509a8bc Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 21 Apr 2023 05:54:58 +0200 Subject: [PATCH] OpenContainers --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d87e65d..88a79c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,11 +57,17 @@ ENV RAM_SIZE "512M" ENV HOST_SERIAL "" ENV GUEST_SERIAL "" +ARG DATE_ARG="" ARG BUILD_ARG=0 ARG VERSION_ARG="0.0" -ENV BUILD=$BUILD_ARG ENV VERSION=$VERSION_ARG +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/kroese/virtual-dsm/ +LABEL org.opencontainers.image.source=https://github.com/kroese/virtual-dsm/ + HEALTHCHECK --interval=30s --timeout=2s CMD curl -ILfSs http://20.20.20.21:5000/ || exit 1 ENTRYPOINT ["/run/run.sh"]