12 lines
428 B
Docker
12 lines
428 B
Docker
|
FROM phpdockerio/php72-fpm:latest
|
||
|
WORKDIR "/application"
|
||
|
|
||
|
# 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/*
|