Skip to content

Commit 0c8b454

Browse files
authored
Update Dockerfile
1 parent a5b5274 commit 0c8b454

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

base-slim/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ RUN --mount=type=cache,id=apk-${TARGETARCH},sharing=locked,target=/var/cache/apk
8282
php-${PHP_VERSION}-opcache \
8383
php-${PHP_VERSION}-zstd \
8484
php-${PHP_VERSION}-redis \
85+
php-${PHP_VERSION}-apcu \
8586
openssl-config \
8687
mariadb-11.2-client \
8788
jq
@@ -97,7 +98,7 @@ RUN --mount=type=cache,id=apk-${TARGETARCH},sharing=locked,target=/var/cache/apk
9798
echo 'www-data ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
9899
chsh -s /bin/bash www-data
99100

100-
echo -e "[client]\nuser=root\npassword=root\nhost=db" > /home/www-data/.my.cnf
101+
echo -e "[client]\nuser=root\npassword=root\nhost=127.0.0.1" > /home/www-data/.my.cnf
101102

102103
sudo rm -rf /var/www/html/public
103104

0 commit comments

Comments
 (0)