Skip to content

Commit

Permalink
docker: set SCRYPTED_BASE_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 22, 2023
1 parent 286bd5b commit 08a5c2f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions docker/Dockerfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -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
################################################################
4 changes: 4 additions & 0 deletions docker/Dockerfile.lite
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions docker/Dockerfile.thin
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions docker/template/Dockerfile.full.footer
Original file line number Diff line number Diff line change
Expand Up @@ -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
################################################################

0 comments on commit 08a5c2f

Please sign in to comment.