feat: Override environment variable (#87)

This commit is contained in:
Kroese 2024-01-24 17:14:41 +01:00 committed by GitHub
parent ca54001bc0
commit 2da452401b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,9 +21,11 @@ RUN chmod +x /run/*.sh
EXPOSE 8006 3389 EXPOSE 8006 3389
VOLUME /storage VOLUME /storage
ENV BOOT ""
ENV RAM_SIZE "4G" ENV RAM_SIZE "4G"
ENV CPU_CORES "2" ENV CPU_CORES "2"
ENV DISK_SIZE "64G" ENV DISK_SIZE "64G"
ENV VERSION "win11"
ARG VERSION_ARG "0.0" ARG VERSION_ARG "0.0"
RUN echo "$VERSION_ARG" > /run/version RUN echo "$VERSION_ARG" > /run/version