xref: /imagick/docker/testing7_2/Dockerfile (revision c5b8086b)
1FROM debian:9
2
3USER root
4
5# Get Debian up-to-date
6RUN apt-get update -qq \
7    && DEBIAN_FRONTEND=noninteractive apt-get install -y git \
8    mariadb-client wget curl \
9    ca-certificates lsb-release apt-transport-https gnupg bsdmainutils
10
11# Install 3rd party PHP 7.2 packages
12RUN echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee -a /etc/apt/sources.list.d/php.list
13RUN curl -L https://packages.sury.org/php/apt.gpg | apt-key add -
14
15RUN  apt-get update -qq \
16    && DEBIAN_FRONTEND=noninteractive apt-get install -y php7.2 php7.2-common php7.2-cli php7.2-fpm \
17    php7.2-mysql  php7.2-curl php7.2-xml php7.2-mbstring \
18    php7.2-intl php7.2-redis php7.2-zip php7.2-sqlite \
19    php7.2-imagick
20
21# Make the default directory you
22WORKDIR /var/app
23
24# Run the process that this container will serve
25
26CMD tail -f /var/app/docker/testing7_2/README.md
27