Skip to content

Commit

Permalink
Add PHP modules exif, gmp. Add apache headers module
Browse files Browse the repository at this point in the history
  • Loading branch information
brettt89 committed Aug 9, 2020
1 parent 835188f commit 472743e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/debian/Dockerfile.apache.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ RUN { \
echo '</VirtualHost>'; \
} | tee /etc/apache2/sites-available/000-default.conf && \
echo "ServerName localhost" > /etc/apache2/conf-available/fqdn.conf && \
a2enmod rewrite expires remoteip cgid
a2enmod rewrite expires remoteip cgid headers
8 changes: 6 additions & 2 deletions src/debian/Dockerfile.php.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ RUN apt-get update -y && apt-get install -y \
libxml2-dev \
libxslt-dev \
zip \
libgmp-dev \
--no-install-recommends && \
apt-mark auto \
zlib1g-dev \
g++ \
libldap2-dev \
libxml2-dev \
libxslt-dev && \
libxslt-dev \
libgmp-dev && \
docker-php-ext-configure intl && \
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
docker-php-ext-configure gd ${GD_BUILD_ARGS:-}&& \
Expand All @@ -35,7 +37,9 @@ RUN apt-get update -y && apt-get install -y \
soap \
tidy \
xsl \
zip && \
zip \
exif \
gmp && \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && \
rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 472743e

Please sign in to comment.