build: Set version

This commit is contained in:
Kroese 2023-11-29 18:05:47 +01:00 committed by GitHub
parent a87aaab6f7
commit 1c36893729

View File

@ -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