Skip to content

Commit

Permalink
update nightly images
Browse files Browse the repository at this point in the history
  • Loading branch information
deminy committed Dec 20, 2023
1 parent 6768492 commit 374593c
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 40 deletions.
7 changes: 3 additions & 4 deletions dockerfiles/nightly/php8.0/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM php:8.0-cli-alpine3.16

COPY --from=composer:2.6.6 /usr/bin/composer /usr/bin/

RUN \
set -ex && \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
chmod +x /usr/bin/composer && \
composer self-update --clean-backups 2.6.5 && \
apk update && \
apk add --no-cache libstdc++ libpq && \
apk add --no-cache --virtual .build-deps $PHPIZE_DEPS curl-dev postgresql-dev openssl-dev pcre-dev pcre2-dev zlib-dev && \
Expand All @@ -25,7 +24,7 @@ RUN \
--enable-openssl \
--enable-sockets --enable-swoole-curl && \
docker-php-ext-install -j$(nproc) swoole && \
rm -f swoole.tar.gz $HOME/.composer/*-old.phar && \
rm -f swoole.tar.gz && \
docker-php-source delete && \
apk del .build-deps

Expand Down
10 changes: 4 additions & 6 deletions dockerfiles/nightly/php8.0/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ ENV TERM xterm-color
ARG DEV_MODE
ENV DEV_MODE $DEV_MODE

COPY --from=composer:2.6.6 /usr/bin/composer /usr/bin/
COPY ./rootfilesystem/ /

RUN \
set -ex && \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
chmod +x /usr/bin/composer && \
composer self-update 2.6.5 && \
apt-get update && \
apt-get install -y \
apt-get update && \
apt-get install -y \
# The auto-reloading feature is supported for non-Alpine images only.
#
# Package "inotify-tools" is pre-installed in latest non-Alpine images. For versioned non-Alpine images, it will be
Expand Down Expand Up @@ -42,7 +40,7 @@ RUN \
--enable-openssl \
--enable-sockets --enable-swoole-curl && \
mkdir -p /var/log/supervisor && \
rm -rf /var/lib/apt/lists/* $HOME/.composer/*-old.phar /usr/bin/qemu-*-static
rm -rf /var/lib/apt/lists/* /usr/bin/qemu-*-static

ENTRYPOINT ["/entrypoint.sh"]
CMD []
Expand Down
7 changes: 3 additions & 4 deletions dockerfiles/nightly/php8.1/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM php:8.1-cli-alpine3.18

COPY --from=composer:2.6.6 /usr/bin/composer /usr/bin/

RUN \
set -ex && \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
chmod +x /usr/bin/composer && \
composer self-update --clean-backups 2.6.5 && \
apk update && \
apk add --no-cache libstdc++ libpq && \
apk add --no-cache --virtual .build-deps $PHPIZE_DEPS curl-dev postgresql-dev openssl-dev pcre-dev pcre2-dev zlib-dev && \
Expand All @@ -25,7 +24,7 @@ RUN \
--enable-openssl \
--enable-sockets --enable-swoole-curl && \
docker-php-ext-install -j$(nproc) swoole && \
rm -f swoole.tar.gz $HOME/.composer/*-old.phar && \
rm -f swoole.tar.gz && \
docker-php-source delete && \
apk del .build-deps

Expand Down
10 changes: 4 additions & 6 deletions dockerfiles/nightly/php8.1/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ ENV TERM xterm-color
ARG DEV_MODE
ENV DEV_MODE $DEV_MODE

COPY --from=composer:2.6.6 /usr/bin/composer /usr/bin/
COPY ./rootfilesystem/ /

RUN \
set -ex && \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
chmod +x /usr/bin/composer && \
composer self-update 2.6.5 && \
apt-get update && \
apt-get install -y \
apt-get update && \
apt-get install -y \
# The auto-reloading feature is supported for non-Alpine images only.
#
# Package "inotify-tools" is pre-installed in latest non-Alpine images. For versioned non-Alpine images, it will be
Expand Down Expand Up @@ -42,7 +40,7 @@ RUN \
--enable-openssl \
--enable-sockets --enable-swoole-curl && \
mkdir -p /var/log/supervisor && \
rm -rf /var/lib/apt/lists/* $HOME/.composer/*-old.phar /usr/bin/qemu-*-static
rm -rf /var/lib/apt/lists/* /usr/bin/qemu-*-static

ENTRYPOINT ["/entrypoint.sh"]
CMD []
Expand Down
7 changes: 3 additions & 4 deletions dockerfiles/nightly/php8.2/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM php:8.2-cli-alpine3.18

COPY --from=composer:2.6.6 /usr/bin/composer /usr/bin/

RUN \
set -ex && \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
chmod +x /usr/bin/composer && \
composer self-update --clean-backups 2.6.5 && \
apk update && \
apk add --no-cache libstdc++ libpq && \
apk add --no-cache --virtual .build-deps $PHPIZE_DEPS curl-dev linux-headers postgresql-dev openssl-dev pcre-dev pcre2-dev zlib-dev && \
Expand All @@ -25,7 +24,7 @@ RUN \
--enable-openssl \
--enable-sockets --enable-swoole-curl && \
docker-php-ext-install -j$(nproc) swoole && \
rm -f swoole.tar.gz $HOME/.composer/*-old.phar && \
rm -f swoole.tar.gz && \
docker-php-source delete && \
apk del .build-deps

Expand Down
10 changes: 4 additions & 6 deletions dockerfiles/nightly/php8.2/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ ENV TERM xterm-color
ARG DEV_MODE
ENV DEV_MODE $DEV_MODE

COPY --from=composer:2.6.6 /usr/bin/composer /usr/bin/
COPY ./rootfilesystem/ /

RUN \
set -ex && \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
chmod +x /usr/bin/composer && \
composer self-update 2.6.5 && \
apt-get update && \
apt-get install -y \
apt-get update && \
apt-get install -y \
# The auto-reloading feature is supported for non-Alpine images only.
#
# Package "inotify-tools" is pre-installed in latest non-Alpine images. For versioned non-Alpine images, it will be
Expand Down Expand Up @@ -42,7 +40,7 @@ RUN \
--enable-openssl \
--enable-sockets --enable-swoole-curl && \
mkdir -p /var/log/supervisor && \
rm -rf /var/lib/apt/lists/* $HOME/.composer/*-old.phar /usr/bin/qemu-*-static
rm -rf /var/lib/apt/lists/* /usr/bin/qemu-*-static

ENTRYPOINT ["/entrypoint.sh"]
CMD []
Expand Down
7 changes: 3 additions & 4 deletions dockerfiles/nightly/php8.3/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM php:8.3-cli-alpine3.18

COPY --from=composer:2.6.6 /usr/bin/composer /usr/bin/

RUN \
set -ex && \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
chmod +x /usr/bin/composer && \
composer self-update --clean-backups 2.6.5 && \
apk update && \
apk add --no-cache libstdc++ libpq && \
apk add --no-cache --virtual .build-deps $PHPIZE_DEPS curl-dev linux-headers postgresql-dev openssl-dev pcre-dev pcre2-dev zlib-dev && \
Expand All @@ -25,7 +24,7 @@ RUN \
--enable-openssl \
--enable-sockets --enable-swoole-curl && \
docker-php-ext-install -j$(nproc) swoole && \
rm -f swoole.tar.gz $HOME/.composer/*-old.phar && \
rm -f swoole.tar.gz && \
docker-php-source delete && \
apk del .build-deps

Expand Down
10 changes: 4 additions & 6 deletions dockerfiles/nightly/php8.3/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ ENV TERM xterm-color
ARG DEV_MODE
ENV DEV_MODE $DEV_MODE

COPY --from=composer:2.6.6 /usr/bin/composer /usr/bin/
COPY ./rootfilesystem/ /

RUN \
set -ex && \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
chmod +x /usr/bin/composer && \
composer self-update 2.6.5 && \
apt-get update && \
apt-get install -y \
apt-get update && \
apt-get install -y \
# The auto-reloading feature is supported for non-Alpine images only.
#
# Package "inotify-tools" is pre-installed in latest non-Alpine images. For versioned non-Alpine images, it will be
Expand Down Expand Up @@ -42,7 +40,7 @@ RUN \
--enable-openssl \
--enable-sockets --enable-swoole-curl && \
mkdir -p /var/log/supervisor && \
rm -rf /var/lib/apt/lists/* $HOME/.composer/*-old.phar /usr/bin/qemu-*-static
rm -rf /var/lib/apt/lists/* /usr/bin/qemu-*-static

ENTRYPOINT ["/entrypoint.sh"]
CMD []
Expand Down

0 comments on commit 374593c

Please sign in to comment.