-
-
Notifications
You must be signed in to change notification settings - Fork 133
/
Dockerfile
27 lines (19 loc) 路 920 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
27
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
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 php8.0 php8.0-common php8.0-cli php8.0-fpm \
php8.0-mysql php8.0-curl php8.0-xml php8.0-mbstring \
php8.0-intl php8.0-redis php8.0-zip php8.0-sqlite \
# How weird is this? Able to use Imagick when I haven't done a release for PHP 8 yet.
php8.0-imagick
# Make the default directory you
WORKDIR /var/app
# Run the process that this container will serve
CMD tail -f /var/app/docker/testing8_0/README.md