Created
December 21, 2018 03:40
-
-
Save 1franck/937b54b1f4304115b662c6bb9a63d12c to your computer and use it in GitHub Desktop.
dockerfile for ubuntu / php72 cli stuff
This file contains 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:18.04 | |
ENV TZ=America/Toronto | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
RUN apt-get update && apt-get upgrade -y && \ | |
apt-get install -y software-properties-common && \ | |
apt-get install -y git vim curl whois siege | |
RUN apt-get install -y php && \ | |
apt-get install -y php-pear php-fpm php-dev php-zip php-curl php-xmlrpc php-gd php-mysql php-mbstring php-xml libapache2-mod-php | |
RUN curl -sS https://getcomposer.org/installer -o composer-setup.php && \ | |
php composer-setup.php --install-dir=/usr/local/bin --filename=composer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment