Skip to content

Commit

Permalink
Merge pull request #942 from uselagoon/add_php_exif
Browse files Browse the repository at this point in the history
feat: add exif extension to php images
  • Loading branch information
tobybellwood authored Feb 26, 2024
2 parents b2ca1bd + a078af4 commit 18eda69
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion images/php-cli/8.2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apk update \
mariadb-client \
mariadb-connector-c \
mongodb-tools \
nodejs=~20 \
nodejs-current=~20 \
npm \
openssh-client \
openssh-sftp-server \
Expand Down
5 changes: 4 additions & 1 deletion images/php-fpm/8.1.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,13 @@ RUN apk update \
.phpize-deps \
&& sed -i '1s/^/;Intentionally disabled. Enable via setting env variable XDEBUG_ENABLE to true\n;/' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
&& docker-php-ext-configure gd --with-webp --with-jpeg --with-freetype \
&& docker-php-ext-install -j4 bcmath gd gettext intl mysqli pdo_mysql opcache pdo_pgsql pgsql shmop soap sockets tidy xsl zip \
&& docker-php-ext-install -j4 bcmath exif gd gettext intl mysqli pdo_mysql opcache pdo_pgsql pgsql shmop soap sockets tidy xsl zip \
&& apk del -r \
.devdeps \
&& apk add --no-cache \
acl \
fcgi \
file \
gettext \
icu-libs \
imagemagick \
Expand All @@ -106,6 +108,7 @@ RUN apk update \
postgresql-libs \
ssmtp \
tidyhtml \
unzip \
yaml \
&& rm -rf /var/cache/apk/*

Expand Down
7 changes: 5 additions & 2 deletions images/php-fpm/8.2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM composer:latest as healthcheckbuilder

RUN composer create-project --no-dev amazeeio/healthz-php /healthz-php v0.0.6

FROM php:8.2.16-fpm-alpine3.19
FROM php:8.2.16-fpm-alpine3.18

LABEL org.opencontainers.image.authors="The Lagoon Authors" maintainer="The Lagoon Authors"
LABEL org.opencontainers.image.source="https://github.com/uselagoon/lagoon-images" repository="https://github.com/uselagoon/lagoon-images"
Expand Down Expand Up @@ -85,11 +85,13 @@ RUN apk update \
.phpize-deps \
&& sed -i '1s/^/;Intentionally disabled. Enable via setting env variable XDEBUG_ENABLE to true\n;/' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
&& docker-php-ext-configure gd --with-webp --with-jpeg --with-freetype \
&& docker-php-ext-install -j4 bcmath gd gettext intl mysqli pdo_mysql opcache pdo_pgsql pgsql shmop soap sockets tidy xsl zip \
&& docker-php-ext-install -j4 bcmath exif gd gettext intl mysqli pdo_mysql opcache pdo_pgsql pgsql shmop soap sockets tidy xsl zip \
&& apk del -r \
.devdeps \
&& apk add --no-cache \
acl \
fcgi \
file \
gettext \
icu-libs \
imagemagick \
Expand All @@ -105,6 +107,7 @@ RUN apk update \
postgresql-libs \
ssmtp \
tidyhtml \
unzip \
yaml \
&& rm -rf /var/cache/apk/*

Expand Down
5 changes: 4 additions & 1 deletion images/php-fpm/8.3.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,13 @@ RUN apk update \
.phpize-deps \
&& sed -i '1s/^/;Intentionally disabled. Enable via setting env variable XDEBUG_ENABLE to true\n;/' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
&& docker-php-ext-configure gd --with-webp --with-jpeg --with-freetype \
&& docker-php-ext-install -j4 bcmath gd gettext intl mysqli pdo_mysql opcache pdo_pgsql pgsql shmop soap sockets tidy xsl zip \
&& docker-php-ext-install -j4 bcmath exif gd gettext intl mysqli pdo_mysql opcache pdo_pgsql pgsql shmop soap sockets tidy xsl zip \
&& apk del -r \
.devdeps \
&& apk add --no-cache \
acl \
fcgi \
file \
gettext \
icu-libs \
imagemagick \
Expand All @@ -114,6 +116,7 @@ RUN apk update \
postgresql-libs \
ssmtp \
tidyhtml \
unzip \
yaml \
&& rm -rf /var/cache/apk/*

Expand Down

0 comments on commit 18eda69

Please sign in to comment.