File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,18 @@ ARG DEBIAN_FRONTEND=noninteractive
33USER root
44COPY php.ini /tmp
55RUN apt-get update -yq \
6+ # Add updated php sources
7+ && apt-get install curl -yq \
8+ && curl -sSL https://packages.sury.org/php/README.txt | bash -x \
69 # Install some common packages
7- && apt-get install curl git imagemagick nano openssh-server sqlite3 wget unzip -yq \
10+ && apt-get install git imagemagick nano openssh-server sqlite3 wget unzip -yq \
811 && sed -i 's/<policy domain="coder" rights="none" pattern="PDF" \/ >/<policy domain="coder" rights="read|write" pattern="PDF" \/ >/g' /etc/ImageMagick-6/policy.xml \
912 # Install PHP CLI with some extensions for Drupal development
10- && apt-get install php -cli php -apcu php -curl php-dom php- gd php -imagick php -mbstring php -sqlite3 php -zip -yq \
13+ && apt-get install php8.1 -cli php8.1 -apcu php8.1 -curl php8.1- gd php8.1 -imagick php8.1 -mbstring php8.1 -sqlite3 php8.1 -zip -yq \
1114 && apt-get install php-pear php-dev -yq \
12- && pear config-set php_ini /etc/php/7.4 /cli/php.ini \
15+ && pear config-set php_ini /etc/php/8.1 /cli/php.ini \
1316 && pecl install xdebug \
14- && cat /tmp/php.ini >> /etc/php/7.4 /cli/php.ini \
17+ && cat /tmp/php.ini >> /etc/php/8.1 /cli/php.ini \
1518 # Install NodeJS LTS
1619 && curl -sL https://deb.nodesource.com/setup_lts.x | bash \
1720 && apt-get install nodejs -yq \
You can’t perform that action at this time.
0 commit comments