Created
May 20, 2017 15:01
-
-
Save raisiqueira/49cefad27b370d18af73c986c4e6261e to your computer and use it in GitHub Desktop.
Dockerfile PHP + Compose CLI
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 alpine:3.5 | |
MAINTAINER Rai Siqueira <[email protected]> | |
RUN echo "---> Misc libs" && \ | |
apk add --update --no-cache \ | |
curl \ | |
bash \ | |
fontconfig \ | |
libxrender \ | |
libxext \ | |
nano \ | |
vim \ | |
git \ | |
unzip \ | |
wget \ | |
sudo | |
RUN apk add --update --no-cache \ | |
php5 \ | |
php5-apcu \ | |
php5-bcmath \ | |
php5-bz2 \ | |
php5-curl \ | |
php5-ctype \ | |
php5-exif \ | |
php5-fpm \ | |
php5-gd \ | |
php5-imagick \ | |
php5-imap \ | |
php5-intl \ | |
php5-json \ | |
php5-mcrypt \ | |
php5-pdo_mysql \ | |
php5-opcache \ | |
php5-pdo_pgsql \ | |
php5-pgsql \ | |
php5-soap \ | |
php5-sqlite3 \ | |
php5-xdebug \ | |
php5-xml \ | |
php5-xmlreader \ | |
php5-openssl \ | |
php5-phar \ | |
php5-zip \ | |
php5-zlib \ | |
php5-phpdbg && \ | |
echo "---> Cleaning up" && \ | |
rm -rf /tmp/* | |
RUN echo "---> Installing composer" && \ | |
curl -sS https://getcomposer.org/installer | php5 -- --install-dir=/usr/bin --filename=composer \ | |
rm -rf /var/cache/apk/* | |
WORKDIR /var/www/html/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment