From 1c368937297729e7e3b408b10bfba363b5c5722f Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 29 Nov 2023 18:05:47 +0100 Subject: [PATCH] build: Set version --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3773f0c..b9b2917 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,10 +50,7 @@ ENV DISK_SIZE "16G" ENV RAM_SIZE "512M" ARG VERSION_ARG="0.0" -ENV VERSION=$VERSION_ARG - -LABEL org.opencontainers.image.title="Virtual DSM" -LABEL org.opencontainers.image.description="Virtual DSM in a docker container" +RUN echo "$VERSION_ARG" > /run/version HEALTHCHECK --interval=60s --start-period=45s --retries=2 CMD /run/check.sh