Update Dockerfile

Changing to ubuntu and installing PHP manually
pull/1/head
Carlos A. Gomes 2017-10-04 20:47:36 -03:00 zatwierdzone przez GitHub
rodzic 82d86a9a5d
commit 9c24f163b0
1 zmienionych plików z 6 dodań i 8 usunięć

Wyświetl plik

@ -1,24 +1,22 @@
FROM debian:8.9
MAINTAINER David Sferruzza <david.sferruzza@gmail.com>
FROM ubuntu:16.04
MAINTAINER Carlos A. Gomes <carlos.algms@gmail.com>
# Let the conatiner know that there is no tty
ENV DEBIAN_FRONTEND noninteractive
ENV COMPOSER_NO_INTERACTION 1
# Add Node.js repo
RUN \
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 \
nodejs \
build-essential \
apt-transport-https \
ca-certificates \
gnupg2 \
openssh-client \
bzip2 \
git \
php5-cli \
php7.1-cli \
nodejs \
# Slim down image
&& apt-get clean \