start_sf5_project/docker_build/php/Dockerfile
2021-02-18 13:55:13 +01:00

13 lines
429 B
Docker

FROM phpdockerio/php72-fpm:latest
WORKDIR "/var/www/app"
# Install selected extensions and other stuff
RUN apt-get update \
&& apt-get -y --no-install-recommends install php7.2-mysql \
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
# 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/*