From 64bf9ce9fcb770effce72e73e536e74df14cc2a2 Mon Sep 17 00:00:00 2001 From: "Carlos A. Gomes" Date: Wed, 4 Oct 2017 21:00:29 -0300 Subject: [PATCH] Update Dockerfile migrated to image php:7.1.1 --- Dockerfile | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6394b78..e2d2346 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,22 +1,12 @@ -FROM ubuntu:16.04 +FROM php:7.1.1 MAINTAINER Carlos A. Gomes -# Let the conatiner know that there is no tty -ENV DEBIAN_FRONTEND noninteractive -ENV COMPOSER_NO_INTERACTION 1 - # Add Node.js repo -RUN apt-get update -y \ - && apt-get install -y python-software-properties \ - && add-apt-repository -y ppa:ondrej/php \ - && curl -sL https://deb.nodesource.com/setup_8.x | bash - \ - && apt-get install --no-install-recommends -y \ - curl \ +RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \ + && apt-get install --no-install-recommends -y \ nodejs \ build-essential \ - ca-certificates \ openssh-client \ - php7.1-cli \ nodejs \ # Slim down image && apt-get clean \ @@ -26,4 +16,3 @@ RUN apt-get update -y \ # Install composer && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && composer selfupdate -