Skip to content

Commit

Permalink
chore: Update PHP Dockerfile to fix permissions and remove apt cache
Browse files Browse the repository at this point in the history
  • Loading branch information
cbluebird committed Sep 11, 2024
1 parent f959edf commit cc4499f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Language/php/8.2.20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM ghcr.io/labring-actions/devbox/debian-ssh:d8f335
COPY /Language/php/project /home/sealos/project

RUN apt update && \
apt install php-common libapache2-mod-php php-cli && \
apt install -y php-common libapache2-mod-php php-cli && \
chown -R sealos:sealos /home/sealos/project && \
chmod -R u+rw /home/sealos/project
chmod -R u+rw /home/sealos/project && \
rm -rf /var/lib/apt/lists/*

0 comments on commit cc4499f

Please sign in to comment.