Skip to content

Commit

Permalink
chore: Add PHP 8.2.20 Dockerfile and project files
Browse files Browse the repository at this point in the history
  • Loading branch information
cbluebird committed Sep 11, 2024
1 parent cb26606 commit f959edf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Language/php/8.2.20/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
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 && \
chown -R sealos:sealos /home/sealos/project && \
chmod -R u+rw /home/sealos/project
9 changes: 9 additions & 0 deletions Language/php/project/hello.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>

0 comments on commit f959edf

Please sign in to comment.