Improving rebuild control.
This commit is contained in:
parent
90467e0bb4
commit
93a28819a7
@ -1,7 +1,7 @@
|
||||
FROM debian:bookworm-slim
|
||||
|
||||
RUN apt update
|
||||
RUN apt install -y git pwgen liblocal-lib-perl libpq-dev nodejs sassc npm
|
||||
RUN apt install -y git pwgen liblocal-lib-perl libpq-dev nodejs sassc npm vim
|
||||
RUN useradd -m las_tres -d /var/lib/las_tres -u {{UID}}
|
||||
RUN mkdir -p /var/lib/las_tres/LasTres
|
||||
RUN chown -R las_tres:las_tres /var/lib/las_tres/LasTres
|
||||
|
@ -36,6 +36,8 @@ fi
|
||||
if [[ $OLD_CHECKSUM_DOCKER != $CURRENT_CHECKSUM_DOCKER ]]; then
|
||||
echo "$OLD_CHECKSUM_DOCKER != $CURRENT_CHECKSUM_DOCKER rebuilding docker";
|
||||
|
||||
echo $SUDO docker container rm LasTresDocker
|
||||
$SUDO docker container rm LasTresDocker
|
||||
echo $SUDO docker build $DOCKER_BUILD_PARAMS
|
||||
$SUDO docker build $DOCKER_BUILD_PARAMS
|
||||
echo $CURRENT_CHECKSUM_DOCKER > $CHECKSUM_DOCKER_FILE
|
||||
|
Loading…
Reference in New Issue
Block a user