Sign inSign up

spintek/php71

By spintek

•Updated about 8 years ago

Image
1

2.9K

spintek/php71 repository overview

FROM phpdockerio/php71-fpm:latest

⁠Install openssh-agent

RUN which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
&& eval $(ssh-agent -s)

⁠Install selected extensions and other stuff

RUN apt-get update
&& apt-get -y --no-install-recommends install php7.1-pgsql php7.1-mbstring php7.1-gd php-xdebug
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*

⁠Intall make etc

RUN apt-get update
&& apt-get -y install build-essential

⁠Install git

RUN apt-get update
&& apt-get -y install git
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*

⁠Install nodejs and yarn

RUN apt-get update
&& apt-get -y install python-software-properties
&& curl -sL https://deb.nodesource.com/setup_8.x⁠ | /bin/sh -
&& apt-get install nodejs
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg⁠ | apt-key add -
&& echo "deb https://dl.yarnpkg.com/debian/⁠ stable main" | tee /etc/apt/sources.list.d/yarn.list
&& apt-get update
&& apt-get install yarn

⁠Install composer

RUN curl -sS https://getcomposer.org/installer⁠ | php
&& mv composer.phar /usr/local/bin/composer
&& chmod +x /usr/local/bin/composer

Tag summary

Content type

Image

Digest

Size

299 MB

Last updated

about 8 years ago

docker pull spintek/php71