Skip to content

Commit

Permalink
modified: README.md
Browse files Browse the repository at this point in the history
	modified:   template/Dockerfile
  • Loading branch information
Code-Egg committed Sep 27, 2024
1 parent c1fe779 commit ca258ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ The system will regulary build both OpenLiteSpeed Edge and Latest stable version

|Component|Version|
| :-------------: | :-------------: |
|Linux|Ubuntu 22.04|
|OpenLiteSpeed|[Latest stable version](https://openlitespeed.org/release-log/version-1-7-x)|
|Linux|Ubuntu 24.04|
|OpenLiteSpeed|[Latest stable version](https://openlitespeed.org/release-log/version-1-8-x)|
|PHP|[Latest stable version](http://rpms.litespeedtech.com/debian/)|

## Usage
Expand All @@ -26,7 +26,7 @@ docker pull litespeedtech/openlitespeed:latest
```
or specify the OpenLiteSpeed version with lsphp version
```
docker pull litespeedtech/openlitespeed:1.7.16-lsphp81
docker pull litespeedtech/openlitespeed:1.7.19-lsphp83
```
### Start a Container
```
Expand Down
4 changes: 3 additions & 1 deletion template/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.04
FROM ubuntu:24.04

ARG OLS_VERSION
ARG PHP_VERSION
Expand All @@ -10,6 +10,8 @@ RUN wget https://openlitespeed.org/packages/openlitespeed-$OLS_VERSION.tgz && \
tar xzf openlitespeed-$OLS_VERSION.tgz && cd openlitespeed && ./install.sh && \
echo 'cloud-docker' > /usr/local/lsws/PLAT && rm -rf /openlitespeed && rm /openlitespeed-$OLS_VERSION.tgz

RUN wget -O - https://repo.litespeed.sh | bash

RUN apt-get install mysql-client $PHP_VERSION $PHP_VERSION-common $PHP_VERSION-mysql $PHP_VERSION-opcache \
$PHP_VERSION-curl $PHP_VERSION-imagick $PHP_VERSION-redis $PHP_VERSION-memcached $PHP_VERSION-intl -y

Expand Down

0 comments on commit ca258ec

Please sign in to comment.