Skip to content

Commit 4cbecc4

Browse files
authored
Update to PH 8.2 (#2)
* Updated to PHP 8.2 * Refresh php sources * Switched user temporarily * Switched back to drupal user
1 parent 7821dc2 commit 4cbecc4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.devcontainer/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@ RUN apt-get update -yq \
66
# Add updated php sources
77
&& apt-get install curl -yq \
88
&& curl -sSL https://packages.sury.org/php/README.txt | bash -x \
9+
&& apt-get update -yq \
910
# Install some common packages
1011
&& apt-get install git imagemagick nano openssh-server sqlite3 wget unzip -yq \
1112
&& sed -i 's/<policy domain="coder" rights="none" pattern="PDF" \/>/<policy domain="coder" rights="read|write" pattern="PDF" \/>/g' /etc/ImageMagick-6/policy.xml \
1213
# Install PHP CLI with some extensions for Drupal development
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 \
14-
&& apt-get install php-pear php-dev -yq \
15-
&& pear config-set php_ini /etc/php/8.1/cli/php.ini \
14+
&& apt-get install php8.2-dev -yq \
15+
&& apt-get install php8.2-apcu php8.2-curl php8.2-gd php8.2-imagick php8.2-mbstring php8.2-sqlite3 php8.2-zip -yq \
16+
&& pear config-set php_ini /etc/php/8.2/cli/php.ini \
1617
&& pecl install xdebug \
17-
&& cat /tmp/php.ini >> /etc/php/8.1/cli/php.ini \
18+
&& cat /tmp/php.ini >> /etc/php/8.2/cli/php.ini \
1819
# Install NodeJS LTS
1920
&& curl -sL https://deb.nodesource.com/setup_lts.x | bash \
2021
&& apt-get install nodejs -yq \

0 commit comments

Comments
 (0)