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 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 php8.0 php7.0-common php8.0-cli php8.0-fpm \ 17 php8.0-mysql php8.0-curl php8.0-xml php8.0-mbstring \ 18 php8.0-intl php8.0-redis php8.0-zip php8.0-sqlite \ 19# How weird is this? Able to use Imagick when I haven't done a release for PHP 8 yet. 20 php8.0-imagick 21 22# Make the default directory you 23WORKDIR /var/app 24 25# Run the process that this container will serve 26 27CMD tail -f /var/app/docker/testing8_0/README.md 28