Skip to content

Commit

Permalink
Update Dockerfile.php
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim authored Jun 15, 2024
1 parent a832f06 commit 8960ad0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
nodejs-22 \
npm \
git \
sudo-rs \
sudo \
openssh-client \
composer \
php-${PHP_VERSION} \
Expand Down Expand Up @@ -71,7 +71,9 @@

ldconfig

echo '/bin/bash' >> /etc/shells
echo 'www-data ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
chsh -s /bin/bash www-data
EOF

COPY --link rootfs /
Expand Down

0 comments on commit 8960ad0

Please sign in to comment.