Block a user
openlitespeed (1.8.5-lsphp85-multiphp-latest)
Published 2026-09-01 07:09:19 +02:00 by mk250
Installation
docker pull git.api.sodew.ai/mk250/openlitespeed:1.8.5-lsphp85-multiphp-latestsha256:96e3016a642266a1f25e4eaa4394b3d8a20eaa5cac290016023c55f8538d561e
Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:3f78aa860931e0853077f09eb31eddbeeef8a9dd70977305b4876aa176770721 in / |
| CMD ["/bin/bash"] |
| ARG OLS_VERSION=1.8.5 |
| ARG PHP_VERSION=lsphp85 |
| ARG TARGETPLATFORM=linux/amd64 |
| ENV LS_FD=/usr/local/lsws |
| ENV PHPINI_PATH=/usr/local/lsws/lsphp85/etc/php/*/litespeed/php.ini |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c apt-get update && apt-get install wget curl cron tzdata -y # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c if [ "$TARGETPLATFORM" = "linux/amd64" ]; then wget https://openlitespeed.org/packages/openlitespeed-$OLS_VERSION-x86_64-linux.tgz && tar xzf openlitespeed-$OLS_VERSION-x86_64-linux.tgz && cd openlitespeed && ./install.sh && echo 'cloud-docker' > $LS_FD/PLAT && rm -rf /openlitespeed && rm /openlitespeed-$OLS_VERSION-x86_64-linux.tgz; elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then wget https://openlitespeed.org/packages/openlitespeed-$OLS_VERSION-aarch64-linux.tgz && tar xzf openlitespeed-$OLS_VERSION-aarch64-linux.tgz && cd openlitespeed && ./install.sh && echo 'cloud-docker' > $LS_FD/PLAT && rm -rf /openlitespeed && rm /openlitespeed-$OLS_VERSION-aarch64-linux.tgz; else echo "$TARGETPLATFORM is not supported"; fi # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c wget -O - https://repo.litespeed.sh | bash # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c apt-get update && apt-get install mysql-client $PHP_VERSION $PHP_VERSION-common $PHP_VERSION-mysql $PHP_VERSION-curl $PHP_VERSION-imagick $PHP_VERSION-redis $PHP_VERSION-memcached $PHP_VERSION-intl -y # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/bash -c case "$PHP_VERSION" in lsphp81|lsphp82|lsphp83|lsphp84) apt-get install ${PHP_VERSION}-opcache -y ;; esac # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/bash -c if [[ $PHP_VERSION == lsphp7* ]]; then apt-get install $PHP_VERSION-json -y; fi # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c wget -O $LS_FD/admin/misc/lsup.sh https://raw.githubusercontent.com/litespeedtech/openlitespeed/master/dist/admin/misc/lsup.sh && chmod +x $LS_FD/admin/misc/lsup.sh # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c sed -i 's/memory_limit = 128M/memory_limit = 1024M/g' $PHPINI_PATH && sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 1024M/g' $PHPINI_PATH && sed -i 's/post_max_size = 8M/post_max_size = 1024M/g' $PHPINI_PATH && sed -i 's/max_execution_time = 30/max_execution_time = 300/g' $PHPINI_PATH # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && chmod +x wp-cli.phar && mv wp-cli.phar /usr/bin/wp && ln -s $LS_FD/$PHP_VERSION/bin/php /usr/bin/php # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c wget -O - https://get.acme.sh | sh # buildkit |
| EXPOSE [7080/tcp] |
| ENV PATH=/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin |
| ADD docker.conf /usr/local/lsws/conf/templates/docker.conf # buildkit |
| ADD setup_docker.sh /usr/local/lsws/bin/setup_docker.sh # buildkit |
| ADD htpasswd /usr/local/lsws/admin/conf/htpasswd # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c $LS_FD/bin/setup_docker.sh && rm $LS_FD/bin/setup_docker.sh # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c chown 994:994 $LS_FD/conf -R # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c cp -RP $LS_FD/conf/ $LS_FD/.conf/ # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c cp -RP $LS_FD/admin/conf $LS_FD/admin/.conf/ # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/bash -c if [[ $PHP_VERSION == lsphp8* ]]; then ln -sf $LS_FD/$PHP_VERSION/bin/lsphp $LS_FD/fcgi-bin/lsphp8; fi # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/bash -c if [[ $PHP_VERSION == lsphp8* ]]; then ln -sf $LS_FD/fcgi-bin/lsphp8 $LS_FD/fcgi-bin/lsphp; fi # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/bash -c if [[ $PHP_VERSION == lsphp7* ]]; then ln -sf $LS_FD/$PHP_VERSION/bin/lsphp $LS_FD/fcgi-bin/lsphp7; fi # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/bash -c if [[ $PHP_VERSION == lsphp7* ]]; then ln -sf $LS_FD/fcgi-bin/lsphp7 $LS_FD/fcgi-bin/lsphp; fi # buildkit |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN |3 OLS_VERSION=1.8.5 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c chmod +x /entrypoint.sh # buildkit |
| ENTRYPOINT ["/entrypoint.sh"] |
| WORKDIR /var/www/vhosts/ |
| RUN /bin/sh -c apt-get update && apt-get install -y lsphp81 lsphp81-mysql lsphp81-opcache lsphp81-redis lsphp81-curl lsphp81-intl lsphp81-imagick lsphp82 lsphp82-mysql lsphp82-opcache lsphp82-redis lsphp82-curl lsphp82-intl lsphp82-imagick lsphp83 lsphp83-mysql lsphp83-opcache lsphp83-redis lsphp83-curl lsphp83-intl lsphp83-imagick lsphp84 lsphp84-mysql lsphp84-opcache lsphp84-redis lsphp84-curl lsphp84-intl lsphp84-imagick lsphp85-imagick && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.version | 24.04 |
Details
2026-09-01 07:09:19 +02:00
Versions (5)
View all
Container
0
OCI / Docker
linux/amd64
347 MiB
1.9.2-lsphp85-multiphp-26.10.05
2026-10-05
1.9.2-lsphp85-multiphp-latest
2026-10-05
1.8.5-lsphp85-multiphp-26.09.01
2026-09-01
1.8.5-lsphp85-multiphp-latest
2026-09-01
1.8.5-lsphp85-multiphp-26.08.17
2026-08-17