Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install PHP extension zip to make Composer prefer-dist work #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions php5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN \
# Update first
apt-get -y update && \
# Basics
apt-get -y install apt-utils wget && \
apt-get -y install apt-utils wget zip unzip && \
# PHP GD library
apt-get -y install \
libpng-dev \
Expand All @@ -30,6 +30,8 @@ RUN \
# Install MySql
docker-php-ext-install pdo_mysql && \
# Install mod_rewrite on Apache
a2enmod rewrite
a2enmod rewrite && \
# Install PHP zip
docker-php-ext-install zip

EXPOSE 80
6 changes: 4 additions & 2 deletions php7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN \
# Update first
apt-get -y update && \
# Basics
apt-get -y install apt-utils wget git && \
apt-get -y install apt-utils wget git zip unzip && \
# PHP GD library
apt-get -y install \
libpng-dev \
Expand All @@ -30,6 +30,8 @@ RUN \
# Install MySql
docker-php-ext-install pdo_mysql && \
# Install mod_rewrite on Apache
a2enmod rewrite
a2enmod rewrite && \
# Install PHP zip
docker-php-ext-install zip

EXPOSE 80