Skip to content

Commit

Permalink
Merge pull request #7 from Xammie/add-php8.4
Browse files Browse the repository at this point in the history
Add php8.4 image
  • Loading branch information
Jeroen-G authored Dec 18, 2024
2 parents e3ca779 + cfe8b6c commit f8b51b3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
tag: [ web8.2, web8.3 ]
tag: [ web8.2, web8.3, web8.4 ]
env:
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
TAG: ${{ matrix.tag }}
Expand Down
36 changes: 36 additions & 0 deletions web8.4.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
FROM existenz/webstack:8.4

RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ --allow-untrusted gnu-libiconv; \
apk -U --no-cache add \
php84 \
php84-bcmath \
php84-curl \
php84-dom \
php84-exif \
php84-gd \
php84-iconv \
php84-intl \
php84-mbstring \
php84-pcntl \
php84-pdo_mysql \
php84-pdo_pgsql \
php84-phar \
php84-posix \
php84-redis \
php84-session \
php84-xml \
php84-zip \
php84-tokenizer \
php84-fileinfo \
php84-xmlwriter \
php84-xmlreader \
php84-simplexml \
&& rm -rf /var/cache/apk/* \
&& ln -s /usr/bin/php83 /usr/bin/php

# See https://github.com/docker-library/php/issues/240
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php

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

ONBUILD COPY --chown=php:nginx . /www

0 comments on commit f8b51b3

Please sign in to comment.