Skip to content

Commit dfd6ad9

Browse files
committed
Introduce a php-fpm 8.1 container
This container (dev version) does not install apcu and apcu-bc.
1 parent 1e18f6f commit dfd6ad9

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Build the php-fpm dev container and push to GitHub Packages
3939
uses: docker/build-push-action@v2
4040
with:
41-
tags: ghcr.io/openconext/openconext-containers/openconext-phpfpm-dev:latest
41+
tags: ghcr.io/openconext/openconext-containers/openconext-phpfpm-dev:81
4242
context: docker/php-fpm/
4343
target: fpmdev
4444
push: true

docker/php-fpm/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.2-fpm-alpine AS fpmprod
1+
FROM php:8.1-fpm-alpine AS fpmprod
22
RUN apk add --no-cache libxml2-dev freetype-dev && \
33
docker-php-ext-install soap gd pdo_mysql opcache
44

@@ -12,8 +12,6 @@ COPY ./conf/xdebug.ini /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
1212
RUN apk --update --no-cache add git npm yarn autoconf g++ make && \
1313
docker-php-ext-install exif && \
1414
pecl install -f xdebug && \
15-
pecl install -f apcu && \
16-
pecl install -f apcu_bc && \
17-
docker-php-ext-enable xdebug apcu apc && \
15+
docker-php-ext-enable xdebug && \
1816
apk del --purge autoconf g++ make
1917
CMD ["/usr/local/sbin/php-fpm" , "-F"]

0 commit comments

Comments
 (0)