Skip to content

Commit

Permalink
modified: README.md
Browse files Browse the repository at this point in the history
	modified:   template/Dockerfile
	modified:   template/build.sh
	modified:   template/entrypoint.sh
  • Loading branch information
Code-Egg committed Oct 4, 2024
1 parent ca258ec commit 5111568
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion template/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions template/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
4 changes: 2 additions & 2 deletions template/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
$@
Expand Down

0 comments on commit 5111568

Please sign in to comment.