diff --git a/README.md b/README.md index ddff33c..00e8295 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ docker pull litespeedtech/openlitespeed:latest ``` or specify the OpenLiteSpeed version with lsphp version ``` -docker pull litespeedtech/openlitespeed:1.7.19-lsphp83 +docker pull litespeedtech/openlitespeed:1.8.3-lsphp83 ``` ### Start a Container ``` diff --git a/template/Dockerfile b/template/Dockerfile index 463fbbd..2eb6130 100644 --- a/template/Dockerfile +++ b/template/Dockerfile @@ -36,7 +36,7 @@ ADD httpd_config.xml /usr/local/lsws/conf/httpd_config.xml ADD htpasswd /usr/local/lsws/admin/conf/htpasswd RUN /usr/local/lsws/bin/setup_docker.sh && rm /usr/local/lsws/bin/setup_docker.sh -RUN chown 999:999 /usr/local/lsws/conf -R +RUN chown 994:994 /usr/local/lsws/conf -R RUN cp -RP /usr/local/lsws/conf/ /usr/local/lsws/.conf/ RUN cp -RP /usr/local/lsws/admin/conf /usr/local/lsws/admin/.conf/ #RUN sed -i "s|fcgi-bin/lsphp|/usr/local/lsws/$PHP_VERSION/bin/lsphp|g" /usr/local/lsws/conf/httpd_config.conf diff --git a/template/build.sh b/template/build.sh index 3da3d9d..96dc7b2 100755 --- a/template/build.sh +++ b/template/build.sh @@ -17,9 +17,9 @@ echow(){ help_message(){ echo -e "\033[1mOPTIONS\033[0m" echow '-O, --ols [VERSION] -P, --php [lsphpVERSION]' - echo "${EPACE}${EPACE}Example: bash build.sh --ols 1.7.11 --php lsphp80" + echo "${EPACE}${EPACE}Example: bash build.sh --ols 1.8.2 --php lsphp83" echow '--push' - echo "${EPACE}${EPACE}Example: build.sh --ols 1.7.11 --php lsphp80 --push, will push to the dockerhub" + echo "${EPACE}${EPACE}Example: build.sh --ols 1.8.2 --php lsphp83 --push, will push to the dockerhub" exit 0 } diff --git a/template/entrypoint.sh b/template/entrypoint.sh index f90b583..820940e 100644 --- a/template/entrypoint.sh +++ b/template/entrypoint.sh @@ -5,8 +5,8 @@ fi if [ -z "$(ls -A -- "/usr/local/lsws/admin/conf/")" ]; then cp -R /usr/local/lsws/admin/.conf/* /usr/local/lsws/admin/conf/ fi -chown 999:999 /usr/local/lsws/conf -R -chown 999:1000 /usr/local/lsws/admin/conf -R +chown 994:994 /usr/local/lsws/conf -R +chown 994:1001 /usr/local/lsws/admin/conf -R /usr/local/lsws/bin/lswsctrl start $@