Sign inSign up

pranavpc/php-node

By pranavpc

•Updated over 5 years ago

contains build deps for php and node apps

Image
0

10K+

pranavpc/php-node repository overview

FROM php:7.1

RUN apt -y update && apt install -y unzip libpng-dev
libjpeg62-turbo-dev libjpeg-dev libpng-dev libfreetype6-dev
python-pip python unzip wget zip git gnupg openssh-client g++
zlib1g-dev libicu-dev apt-utils

RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-png-dir=/usr/include/

RUN docker-php-ext-install -j$(nproc) gd

RUN docker-php-ext-install pdo_mysql intl bcmath zip mysqli

#install composer

RUN php -r "copy('https://getcomposer.org/installer⁠', 'composer-setup.php');" && php composer-setup.php --install-dir=/usr/local/bin --filename=composer

#install nodejs

RUN curl -sL https://deb.nodesource.com/setup_8.x⁠ | bash - && apt-get install -y nodejs

#install python deps

RUN pip install boto boto3 ansible

#install packer

RUN wget https://releases.hashicorp.com/packer/1.3.1/packer_1.3.1_linux_amd64.zip⁠ -O /tmp/packer_src.zip

RUN unzip /tmp/packer_src.zip -d /usr/local/bin; rm /tmp/packer_src.zip

RUN composer --version

Tag summary

Content type

Image

Digest

Size

497.4 MB

Last updated

over 5 years ago

docker pull pranavpc/php-node