Skip to content

Commit fa33194

Browse files
author
Chris Park
committed
Updated Dockerfile to php 7
- removed the php5 references, ubuntu no longer holds them in its repo
1 parent a641109 commit fa33194

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docker/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ RUN apt-get -y update && apt-get install -y \
1414

1515
RUN LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php5-5.6
1616
RUN apt-get -y update && apt-get install -y \
17-
php5-dev \
18-
php5-cli \
19-
php5-curl \
20-
libapache2-mod-php5
17+
php-dev \
18+
php-cli \
19+
php-curl \
20+
libapache2-mod-php
2121

2222

23-
RUN echo "memory_limit=-1" >> /etc/php5/cli/php.ini && \
24-
echo "date.timezone=America/New_York" >> /etc/php5/cli/php.ini
23+
RUN echo "memory_limit=-1" >> /etc/php/7.0/cli/php.ini && \
24+
echo "date.timezone=America/New_York" >> /etc/php/7.0/cli/php.ini
2525

2626
RUN wget -O /usr/local/bin/composer https://getcomposer.org/composer.phar && \
2727
chmod +x /usr/local/bin/composer

0 commit comments

Comments
 (0)