docker: set SCRYPTED_BASE_VERSION

This commit is contained in:
Koushik Dutta
2023-03-22 14:00:22 -07:00
parent 286bd5b19e
commit 08a5c2f2b3
5 changed files with 16 additions and 3 deletions

View File

@@ -1,9 +1,6 @@
ARG BASE="18-bullseye-full"
FROM koush/scrypted-common:${BASE}
# changing this forces pip and npm to perform reinstalls
ENV SCRYPTED_BASE_VERSION=20230322
WORKDIR /
# cache bust
ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache

View File

@@ -89,6 +89,10 @@ ENV SCRYPTED_CAN_RESTART="true"
ENV SCRYPTED_VOLUME="/server/volume"
ENV SCRYPTED_INSTALL_PATH="/server"
# changing this forces pip and npm to perform reinstalls.
# if this base image changes, this version must be updated.
ENV SCRYPTED_BASE_VERSION=20230322
################################################################
# End section generated from template/Dockerfile.full.footer
################################################################

View File

@@ -39,3 +39,7 @@ ENV SCRYPTED_DOCKER_SERVE="true"
ENV SCRYPTED_CAN_RESTART="true"
ENV SCRYPTED_VOLUME="/server/volume"
ENV SCRYPTED_INSTALL_PATH="/server"
# changing this forces pip and npm to perform reinstalls.
# if this base image changes, this version must be updated.
ENV SCRYPTED_BASE_VERSION=20230322

View File

@@ -18,3 +18,7 @@ ENV SCRYPTED_DOCKER_SERVE="true"
ENV SCRYPTED_CAN_RESTART="true"
ENV SCRYPTED_VOLUME="/server/volume"
ENV SCRYPTED_INSTALL_PATH="/server"
# changing this forces pip and npm to perform reinstalls.
# if this base image changes, this version must be updated.
ENV SCRYPTED_BASE_VERSION=20230322

View File

@@ -8,6 +8,10 @@ ENV SCRYPTED_CAN_RESTART="true"
ENV SCRYPTED_VOLUME="/server/volume"
ENV SCRYPTED_INSTALL_PATH="/server"
# changing this forces pip and npm to perform reinstalls.
# if this base image changes, this version must be updated.
ENV SCRYPTED_BASE_VERSION=20230322
################################################################
# End section generated from template/Dockerfile.full.footer
################################################################