Permalink
Browse files

Add initial dockerfile

  • Loading branch information...
mrook committed Mar 3, 2017
1 parent 81853a0 commit 9e82b3c0b218631837448c419685c80436d46051
Showing with 17 additions and 0 deletions.
  1. +17 −0 Dockerfile
View
@@ -0,0 +1,17 @@
+FROM php:7-cli
+MAINTAINER Phing <info@phing.info>
+
+RUN apt-get update -qq -y && \
+ apt-get install -y --no-install-recommends git unzip && \
+ apt-get clean && \
+ rm -rf /var/lib/apt/lists/*
+
+RUN curl -o composer.phar https://getcomposer.org/composer.phar
+
+ADD bin/phing* bin/
+ADD classes/ classes
+ADD composer.* ./
+
+RUN php composer.phar install -o && rm -rf ~/.composer
+
+ENTRYPOINT ["phing"]

0 comments on commit 9e82b3c

Please sign in to comment.