Last active
January 22, 2019 16:29
-
-
Save alferov/2218d930a255932cbc06bd1cee29303d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
# Install git and add-apt-repository | |
RUN apt-get update && apt-get install -y software-properties-common git | |
# Add repo containing older php versions | |
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php | |
# Install PHP 5 | |
RUN apt-get update && apt-get install -y graphicsmagick imagemagick php5.6 php5.6-cli \ | |
php5.6-curl php5.6-dev php5.6-gd php5.6-mcrypt php5.6-mysql php-pear | |
# Install node v6 | |
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - | |
RUN apt-get install -y nodejs | |
WORKDIR /var/www/html | |
# Install global npm dependencies | |
RUN npm install -g gulp bower npm-check | |
CMD ["npm", "start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment