Skip to content

Commit eae40d4

Browse files
committed
fix latest
1 parent 326687f commit eae40d4

File tree

7 files changed

+80
-15
lines changed

7 files changed

+80
-15
lines changed

config/latest.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
#
44
status: "under development"
55
php:
6-
- "7.4"
7-
- "8.0"
86
- "8.1"
97
- "8.2"
8+
- "8.3"
109
image:
1110
composer:
12-
version: "2.1.6"
11+
version: "2.6.6"
1312
inotify: true

dockerfiles/latest/php8.1/alpine/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ FROM php:8.1-cli-alpine3.16
33
RUN \
44
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
55
chmod +x /usr/bin/composer && \
6-
composer self-update --clean-backups 2.1.6 && \
6+
composer self-update --clean-backups 2.6.6 && \
77
apk update && \
88
apk add --no-cache linux-headers && \
99
apk add --no-cache libstdc++ postgresql-dev libpq && \
1010
apk add --no-cache --virtual .build-deps $PHPIZE_DEPS curl-dev openssl-dev pcre-dev pcre2-dev zlib-dev && \
1111
docker-php-ext-install sockets && \
1212
docker-php-source extract && \
1313
mkdir /usr/src/php/ext/openswoole && \
14-
curl -sfL https://github.com/openswoole/swoole-src/archive/v22.0.0.tar.gz -o swoole.tar.gz && \
15-
tar xfz swoole.tar.gz --strip-components=1 -C /usr/src/php/ext/openswoole && \
14+
curl -sfL https://github.com/openswoole/ext-openswoole/archive/v22.1.1.tar.gz -o openswoole.tar.gz && \
15+
tar xfz openswoole.tar.gz --strip-components=1 -C /usr/src/php/ext/openswoole && \
1616
docker-php-ext-configure openswoole \
1717
--enable-http2 \
1818
--enable-mysqlnd \
1919
--enable-openssl \
2020
--enable-sockets --enable-hook-curl --with-postgres && \
2121
docker-php-ext-install -j$(nproc) --ini-name zzz-docker-php-ext-openswoole.ini openswoole && \
22-
rm -f swoole.tar.gz $HOME/.composer/*-old.phar && \
22+
rm -f openswoole.tar.gz $HOME/.composer/*-old.phar && \
2323
docker-php-source delete && \
2424
apk del .build-deps
2525

dockerfiles/latest/php8.1/cli/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ COPY ./rootfilesystem/ /
1515
RUN \
1616
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
1717
chmod +x /usr/bin/composer && \
18-
composer self-update 2.1.6 && \
18+
composer self-update 2.6.6 && \
1919
apt-get update && \
2020
apt-get install -y \
2121
inotify-tools \
@@ -26,7 +26,7 @@ RUN \
2626
unzip \
2727
zlib1g-dev \
2828
--no-install-recommends && \
29-
install-swoole.sh v22.0.0 \
29+
install-swoole.sh v22.1.1 \
3030
--enable-http2 \
3131
--enable-mysqlnd \
3232
--enable-openssl \

dockerfiles/latest/php8.2/alpine/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ FROM php:8.2-cli-alpine3.16
33
RUN \
44
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
55
chmod +x /usr/bin/composer && \
6-
composer self-update --clean-backups 2.1.6 && \
6+
composer self-update --clean-backups 2.6.6 && \
77
apk update && \
88
apk add --no-cache linux-headers && \
99
apk add --no-cache libstdc++ postgresql-dev libpq && \
1010
apk add --no-cache --virtual .build-deps $PHPIZE_DEPS curl-dev openssl-dev pcre-dev pcre2-dev zlib-dev && \
1111
docker-php-ext-install sockets && \
1212
docker-php-source extract && \
1313
mkdir /usr/src/php/ext/openswoole && \
14-
curl -sfL https://github.com/openswoole/swoole-src/archive/v22.0.0.tar.gz -o swoole.tar.gz && \
15-
tar xfz swoole.tar.gz --strip-components=1 -C /usr/src/php/ext/openswoole && \
14+
curl -sfL https://github.com/openswoole/ext-openswoole/archive/v22.1.1.tar.gz -o openswoole.tar.gz && \
15+
tar xfz openswoole.tar.gz --strip-components=1 -C /usr/src/php/ext/openswoole && \
1616
docker-php-ext-configure openswoole \
1717
--enable-http2 \
1818
--enable-mysqlnd \
1919
--enable-openssl \
2020
--enable-sockets --enable-hook-curl --with-postgres && \
2121
docker-php-ext-install -j$(nproc) --ini-name zzz-docker-php-ext-openswoole.ini openswoole && \
22-
rm -f swoole.tar.gz $HOME/.composer/*-old.phar && \
22+
rm -f openswoole.tar.gz $HOME/.composer/*-old.phar && \
2323
docker-php-source delete && \
2424
apk del .build-deps
2525

dockerfiles/latest/php8.2/cli/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ COPY ./rootfilesystem/ /
1515
RUN \
1616
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
1717
chmod +x /usr/bin/composer && \
18-
composer self-update 2.1.6 && \
18+
composer self-update 2.6.6 && \
1919
apt-get update && \
2020
apt-get install -y \
2121
inotify-tools \
@@ -26,7 +26,7 @@ RUN \
2626
unzip \
2727
zlib1g-dev \
2828
--no-install-recommends && \
29-
install-swoole.sh v22.0.0 \
29+
install-swoole.sh v22.1.1 \
3030
--enable-http2 \
3131
--enable-mysqlnd \
3232
--enable-openssl \
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM php:8.3-cli-alpine3.18
2+
3+
RUN \
4+
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
5+
chmod +x /usr/bin/composer && \
6+
composer self-update --clean-backups 2.6.6 && \
7+
apk update && \
8+
apk add --no-cache linux-headers && \
9+
apk add --no-cache libstdc++ postgresql-dev libpq && \
10+
apk add --no-cache --virtual .build-deps $PHPIZE_DEPS curl-dev openssl-dev pcre-dev pcre2-dev zlib-dev && \
11+
docker-php-ext-install sockets && \
12+
docker-php-source extract && \
13+
mkdir /usr/src/php/ext/openswoole && \
14+
curl -sfL https://github.com/openswoole/ext-openswoole/archive/v22.1.1.tar.gz -o openswoole.tar.gz && \
15+
tar xfz openswoole.tar.gz --strip-components=1 -C /usr/src/php/ext/openswoole && \
16+
docker-php-ext-configure openswoole \
17+
--enable-http2 \
18+
--enable-mysqlnd \
19+
--enable-openssl \
20+
--enable-sockets --enable-hook-curl --with-postgres && \
21+
docker-php-ext-install -j$(nproc) --ini-name zzz-docker-php-ext-openswoole.ini openswoole && \
22+
rm -f openswoole.tar.gz $HOME/.composer/*-old.phar && \
23+
docker-php-source delete && \
24+
apk del .build-deps
25+
26+
WORKDIR "/var/www/"
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
FROM php:8.3-cli
2+
3+
ENV DEBIAN_FRONTEND noninteractive
4+
ENV TERM xterm-color
5+
6+
ARG DEV_MODE
7+
ENV DEV_MODE $DEV_MODE
8+
9+
ENV TINI_VERSION v0.19.0
10+
RUN dpkgArch="$(dpkg --print-architecture)" && curl -s -L -o /tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${dpkgArch}
11+
RUN chmod +x /tini
12+
13+
COPY ./rootfilesystem/ /
14+
15+
RUN \
16+
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
17+
chmod +x /usr/bin/composer && \
18+
composer self-update 2.6.6 && \
19+
apt-get update && \
20+
apt-get install -y \
21+
inotify-tools \
22+
libcurl4-openssl-dev \
23+
libpq-dev \
24+
libssl-dev \
25+
supervisor \
26+
unzip \
27+
zlib1g-dev \
28+
--no-install-recommends && \
29+
install-swoole.sh v22.1.1 \
30+
--enable-http2 \
31+
--enable-mysqlnd \
32+
--enable-openssl \
33+
--enable-sockets --enable-hook-curl --with-postgres && \
34+
mkdir -p /var/log/supervisor && \
35+
rm -rf /var/lib/apt/lists/* $HOME/.composer/*-old.phar /usr/bin/qemu-*-static
36+
37+
ENTRYPOINT ["/tini", "-g", "--", "/entrypoint.sh"]
38+
CMD []
39+
40+
WORKDIR "/var/www/"

0 commit comments

Comments
 (0)