Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chazcheadle/e1aa296ff3e2e16e5e3bdc5e1daf42e4 to your computer and use it in GitHub Desktop.
Save chazcheadle/e1aa296ff3e2e16e5e3bdc5e1daf42e4 to your computer and use it in GitHub Desktop.
Ubuntu 16.04, PHP 7.1, Apache
FROM ubuntu:xenial
RUN apt-get update
RUN apt-get install -y software-properties-common vim
RUN apt-get update
RUN apt-get install -y build-essential
RUN apt-get install -y git
RUN apt-get update -y
RUN apt-get -y install locales
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php && apt-get update -y
RUN apt-get install -y curl
RUN apt-get install -y git
RUN apt-get install -y php7.1-cli
RUN apt-get install -y php7.1
RUN apt-get install -y php7.1-gd
RUN apt-get install -y php7.1-json
RUN apt-get install -y php7.1-ldap
RUN apt-get install -y php7.1-mbstring
RUN apt-get install -y php7.1-mysql
RUN apt-get install -y php7.1-xml
RUN apt-get install -y php7.1-xsl
RUN apt-get install -y php7.1-zip
RUN apt-get install -y ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment