Skip to content

Commit 3136d1f

Browse files
committed
Unbreak debian PHP packages install
library/php guys decided to break Debian PHP packages installation as per docker-library/php#542. This is a quick workaround to unblock the image build, but in the mid-run it would be better to rethink the whole image build, using alpine, pecl installs, eventually PHP7, etc. Signed-off-by: pierrecdn <[email protected]>
1 parent 6dc444a commit 3136d1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
FROM php:5.6-apache
2-
MAINTAINER Pierre Cheynier <pierre.cheynier@sfr.com>
2+
MAINTAINER Pierre Cheynier <pierre.cheynier@gmail.com>
33

44
ENV PHPIPAM_SOURCE https://github.com/phpipam/phpipam/archive/
55
ENV PHPIPAM_VERSION 1.3.1
66
ENV WEB_REPO /var/www/html
77

88
# Install required deb packages
99
RUN apt-get update && apt-get -y upgrade && \
10+
rm /etc/apt/preferences.d/no-debian-php && \
1011
apt-get install -y php-pear php5-curl php5-mysql php5-json php5-gmp php5-mcrypt php5-ldap php5-gd php-net-socket libgmp-dev libmcrypt-dev libpng12-dev libfreetype6-dev libjpeg-dev libpng-dev libldap2-dev && \
1112
rm -rf /var/lib/apt/lists/*
1213

0 commit comments

Comments
 (0)