aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/dockerfile/php_deps.include
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-02-08 17:43:54 -0800
committerGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-02-08 17:43:54 -0800
commit2dbaca8adce55fb8e54a1e4d5c19f75ffcc3fd79 (patch)
treeb8bb84589424c669a08083334ed349037f7d1ae1 /templates/tools/dockerfile/php_deps.include
parent0618f272c07f73c524583f7f3e54ee586b983b86 (diff)
parent9b721f8711df29b1654899973709fe70a5b025ff (diff)
Merge pull request #5121 from jtattermusch/refactor_dockerfiles
Refactor dockerfiles
Diffstat (limited to 'templates/tools/dockerfile/php_deps.include')
-rw-r--r--templates/tools/dockerfile/php_deps.include13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/tools/dockerfile/php_deps.include b/templates/tools/dockerfile/php_deps.include
new file mode 100644
index 0000000000..739049b5ea
--- /dev/null
+++ b/templates/tools/dockerfile/php_deps.include
@@ -0,0 +1,13 @@
+#=================
+# PHP dependencies
+
+# Install dependencies
+
+RUN /bin/bash -l -c "echo 'deb http://packages.dotdeb.org wheezy-php55 all' ${'\\'}
+ >> /etc/apt/sources.list.d/dotdeb.list"
+RUN /bin/bash -l -c "echo 'deb-src http://packages.dotdeb.org wheezy-php55 all' ${'\\'}
+ >> /etc/apt/sources.list.d/dotdeb.list"
+RUN wget http://www.dotdeb.org/dotdeb.gpg -O- | apt-key add -
+
+RUN apt-get update && apt-get install -y ${'\\'}
+ git php5 php5-dev phpunit unzip