summaryrefslogtreecommitdiff
path: root/build/php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-03-29 22:29:56 -0400
committerFreya Murphy <freya@freyacat.org>2024-03-29 22:29:56 -0400
commit944b6b0526032ad8c1b4a2612d6723bec75e0e4c (patch)
treed3da5584df33a7878c087622b4fc2ec2883cf880 /build/php
downloadxssbook2-944b6b0526032ad8c1b4a2612d6723bec75e0e4c.tar.gz
xssbook2-944b6b0526032ad8c1b4a2612d6723bec75e0e4c.tar.bz2
xssbook2-944b6b0526032ad8c1b4a2612d6723bec75e0e4c.zip
start database (user and post), and initial barebones home page
Diffstat (limited to 'build/php')
-rw-r--r--build/php/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/php/Dockerfile b/build/php/Dockerfile
new file mode 100644
index 0000000..280ca35
--- /dev/null
+++ b/build/php/Dockerfile
@@ -0,0 +1,4 @@
+FROM php:fpm-alpine
+RUN apk add --no-cache postgresql-dev
+RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql
+RUN docker-php-ext-install pdo pdo_pgsql