Maksym Krugol mk250
  • Joined on 2026-08-10

openlitespeed (1.9.2-lsphp85-multiphp-latest)

Published 2026-10-05 11:48:54 +02:00 by mk250

Installation

docker pull git.api.sodew.ai/mk250/openlitespeed:1.9.2-lsphp85-multiphp-latest
sha256:b56c3cd18908b92b5c5dd97511ca48f52b8052706099a29caac1be02c4636154

About this package

The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide.

Image Layers

umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:rockcraft-base /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/.temp_layer.9259.tar --tag 26.04
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 --clear=config.entrypoint --clear=config.cmd
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 --clear=config.cmd --config.cmd /bin/bash
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 --config.env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 --clear=config.labels --config.label org.opencontainers.image.version=26.04 --config.label org.opencontainers.image.title=ubuntu --config.label org.opencontainers.image.created=2026-08-17T09:02:45.677319+00:00 --config.label org.opencontainers.image.description=The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide.
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 --clear=manifest.annotations --manifest.annotation org.opencontainers.image.version=26.04 --manifest.annotation org.opencontainers.image.title=ubuntu --manifest.annotation org.opencontainers.image.created=2026-08-17T09:02:45.677319+00:00 --manifest.annotation org.opencontainers.image.description=The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide.
umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/.temp_layer.control_data.9259.tar
ARG OLS_VERSION=1.9.2
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.9.2 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends wget curl cron unzip ed tzdata ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit
RUN |3 OLS_VERSION=1.9.2 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c set -eux; if [ "$TARGETPLATFORM" = "linux/amd64" ]; then OLS_ARCH='x86_64'; elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then OLS_ARCH='aarch64'; else echo "$TARGETPLATFORM is not supported" >&2; exit 1; fi; OLS_TGZ="openlitespeed-${OLS_VERSION}-${OLS_ARCH}-linux.tgz"; wget --tries=3 --timeout=60 -q "https://openlitespeed.org/packages/${OLS_TGZ}"; tar xzf "${OLS_TGZ}"; cd openlitespeed && ./install.sh; echo 'cloud-docker' > "$LS_FD/PLAT"; cd / && rm -rf /openlitespeed "/${OLS_TGZ}" # buildkit
RUN |3 OLS_VERSION=1.9.2 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c set -eux; wget --tries=3 --timeout=60 -qO /tmp/repo.litespeed.sh https://repo.litespeed.sh; bash /tmp/repo.litespeed.sh; rm -f /tmp/repo.litespeed.sh # buildkit
RUN |3 OLS_VERSION=1.9.2 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends 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; case "$PHP_VERSION" in lsphp81|lsphp82|lsphp83|lsphp84) apt-get install -y --no-install-recommends "${PHP_VERSION}-opcache" ;; lsphp7*) apt-get install -y --no-install-recommends "${PHP_VERSION}-json" ;; esac; rm -rf /var/lib/apt/lists/* # buildkit
RUN |3 OLS_VERSION=1.9.2 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c wget --tries=3 --timeout=60 -qO $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.9.2 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.9.2 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c set -eux; curl -fsSL -o /tmp/wp-cli.phar https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar; curl -fsSL -o /tmp/wp-cli.phar.sha512 https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar.sha512; echo "$(cat /tmp/wp-cli.phar.sha512) /tmp/wp-cli.phar" | sha512sum -c -; chmod +x /tmp/wp-cli.phar; mv /tmp/wp-cli.phar /usr/bin/wp; rm -f /tmp/wp-cli.phar.sha512; ln -s $LS_FD/$PHP_VERSION/bin/php /usr/bin/php # buildkit
RUN |3 OLS_VERSION=1.9.2 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c set -eux; wget --tries=3 --timeout=60 -qO /tmp/acme.sh https://get.acme.sh; sh /tmp/acme.sh; rm -f /tmp/acme.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.9.2 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.9.2 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c chown -R lsadm:lsadm $LS_FD/conf $LS_FD/admin/conf # buildkit
RUN |3 OLS_VERSION=1.9.2 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c chmod -R u=rwX,go= $LS_FD/admin/conf # buildkit
RUN |3 OLS_VERSION=1.9.2 PHP_VERSION=lsphp85 TARGETPLATFORM=linux/amd64 /bin/sh -c cp -RP $LS_FD/conf/ $LS_FD/.conf/ # buildkit
RUN |3 OLS_VERSION=1.9.2 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.9.2 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.9.2 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.9.2 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.9.2 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.9.2 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 upgrade -y && apt-get install -y 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.created 2026-08-17T09:02:45.677319+00:00
org.opencontainers.image.description The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide.
org.opencontainers.image.title ubuntu
org.opencontainers.image.version 26.04
Details
Container
2026-10-05 11:48:54 +02:00
0
OCI / Docker
linux/amd64
367 MiB
Versions (5) View all