diff --git a/docker/rascsi-web/Dockerfile b/docker/rascsi-web/Dockerfile index 0a73e042..95c5578c 100644 --- a/docker/rascsi-web/Dockerfile +++ b/docker/rascsi-web/Dockerfile @@ -21,10 +21,13 @@ WORKDIR /home/pi/RASCSI USER pi COPY --chown=pi:pi . . -# Standalone RaSCSI web UI +# Install standalone RaSCSI web UI RUN ./easyinstall.sh --run_choice=11 -# Wired network bridge +# Enable web UI authentication +RUN ./easyinstall.sh --run_choice=13 + +# Setup wired network bridge RUN ./easyinstall.sh --run_choice=6 --headless USER root diff --git a/easyinstall.sh b/easyinstall.sh index 74c934f2..e12324d9 100755 --- a/easyinstall.sh +++ b/easyinstall.sh @@ -1429,8 +1429,8 @@ while [ "$1" != "" ]; do CONNECT_TYPE=$VALUE ;; -r | --run_choice) - if ! [[ $VALUE =~ ^[1-9][0-9]?$ && $VALUE -ge 1 && $VALUE -le 12 ]]; then - echo "ERROR: The run choice parameter must have a numeric value between 1 and 12" + if ! [[ $VALUE =~ ^[1-9][0-9]?$ && $VALUE -ge 1 && $VALUE -le 15 ]]; then + echo "ERROR: The run choice parameter must have a numeric value between 1 and 15" exit 1 fi RUN_CHOICE=$VALUE