Skip to content

Instantly share code, notes, and snippets.

@raank
Created February 28, 2019 03:30
Show Gist options
  • Save raank/12bc4e73ac56aeb49abb1455be4be5cf to your computer and use it in GitHub Desktop.
Save raank/12bc4e73ac56aeb49abb1455be4be5cf to your computer and use it in GitHub Desktop.
FROM phpdockerio/php73-fpm:latest
WORKDIR "/application"
# Fix debconf warnings upon build
ARG DEBIAN_FRONTEND=noninteractive
# Install selected extensions and other stuff
RUN apt-get update \
&& apt-get -y --no-install-recommends install php7.3-mysql php-redis php7.3-sqlite3 \
&& 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/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment