summaryrefslogtreecommitdiff
path: root/vendor/Dockerfile/PHP.Dockerfile
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <zegerjan@gitlab.com>2017-04-26 15:57:44 +0000
committerDouwe Maan <douwe@gitlab.com>2017-04-26 15:57:44 +0000
commitdf85a7c00439f7a9636b6f46448336d76df7f7da (patch)
treed59481d95e0f8dfcc48a382ae3dd707b18e32e6a /vendor/Dockerfile/PHP.Dockerfile
parent61afa9b5c45deccda81bddf33bb1cd6bc69280fd (diff)
downloadgitlab-ce-df85a7c00439f7a9636b6f46448336d76df7f7da.tar.gz
Submodule Dockerfile templates
Diffstat (limited to 'vendor/Dockerfile/PHP.Dockerfile')
-rw-r--r--vendor/Dockerfile/PHP.Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/Dockerfile/PHP.Dockerfile b/vendor/Dockerfile/PHP.Dockerfile
new file mode 100644
index 00000000000..6b098efcd85
--- /dev/null
+++ b/vendor/Dockerfile/PHP.Dockerfile
@@ -0,0 +1,14 @@
+FROM php:7.0-apache
+
+# Customize any core extensions here
+#RUN apt-get update && apt-get install -y \
+# libfreetype6-dev \
+# libjpeg62-turbo-dev \
+# libmcrypt-dev \
+# libpng12-dev \
+# && docker-php-ext-install -j$(nproc) iconv mcrypt \
+# && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
+# && docker-php-ext-install -j$(nproc) gd
+
+COPY config/php.ini /usr/local/etc/php/
+COPY src/ /var/www/html/