Permalink
Browse files

Update via stanangeloff/php:7.1-cli

  • Loading branch information...
1 parent ae939a7 commit 0447f777ebd04b28ce1920df0baa31233957fb1c @StanAngeloff committed Jan 5, 2017
Showing with 10 additions and 19 deletions.
  1. +10 −19 Dockerfile
View
@@ -1,24 +1,15 @@
-FROM ubuntu:14.04
-MAINTAINER Stan Angeloff "stanimir@psp-webtech.co.uk"
+FROM stanangeloff/php:7.1-cli
-RUN echo 'deb http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu trusty main' >> /etc/apt/sources.list && apt-key adv -q --keyserver 'keyserver.ubuntu.com' --recv-keys 'E5267A6C'
+MAINTAINER Stan Angeloff "stanimir@psp-webtech.co.uk"
-RUN apt-get update
-RUN apt-get -y install \
- openssl \
-;
-RUN apt-get -y install \
- php5-cli \
- php5-curl \
- php5-gd \
- php5-gmp \
- php5-intl \
- php5-mcrypt \
- php5-memcache \
- php5-mysql \
- php5-pgsql \
- php5-sqlite \
-;
+RUN apt-get update -q && \
+ apt-get install -y -qq \
+ php7.1-bz2 \
+ php7.1-gd \
+ php7.1-memcache \
+ php7.1-mysql \
+ php7.1-pgsql \
+ ;
ADD scripts/ /build

0 comments on commit 0447f77

Please sign in to comment.