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