Skip to content

Commit

Permalink
chore(docker): bump php version to 7.4 from 7.2 in phpfpm image
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Quintanilha committed Jan 26, 2022
1 parent 365c834 commit 88d4708
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
networks:
- tao_network
ports:
- "80:80"
- "8085:80"
volumes_from:
- tao_phpfpm
volumes:
Expand Down
7 changes: 3 additions & 4 deletions docker/phpfpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM php:7.2-fpm
FROM php:7.4-fpm

RUN usermod -u 1000 www-data
RUN usermod -G staff www-data

RUN apt-get update && apt-get install -y libpng-dev libjpeg-dev libpq-dev zip unzip sudo wget sqlite3 libsqlite3-dev libzstd-dev && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y libpng-dev libjpeg-dev libpq-dev libzip-dev zip unzip sudo wget sqlite3 libsqlite3-dev libzstd-dev && rm -rf /var/lib/apt/lists/*

RUN docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr
RUN docker-php-ext-configure gd --with-jpeg
RUN docker-php-ext-configure pdo_mysql --with-pdo-mysql=mysqlnd
RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql
RUN docker-php-ext-configure mysqli --with-mysqli=mysqlnd
Expand All @@ -19,7 +19,6 @@ RUN docker-php-ext-install pdo && \
docker-php-ext-install pdo_pgsql && \
docker-php-ext-install pdo_sqlite && \
docker-php-ext-install gd && \
docker-php-ext-install mbstring && \
docker-php-ext-install opcache && \
docker-php-ext-install zip && \
docker-php-ext-install calendar && \
Expand Down

0 comments on commit 88d4708

Please sign in to comment.