Skip to content

Commit

Permalink
Building on the apache example to add php
Browse files Browse the repository at this point in the history
  • Loading branch information
kstaken committed Jul 15, 2013
1 parent a2a60b5 commit aff8f4c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apache-php/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# A basic apache server with PHP. To use either add or bind mount content under /var/www

FROM kstaken/apache2

MAINTAINER Kimbro Staken version: 0.1

RUN apt-get update && apt-get install -y php5 libapache2-mod-php5 php5-mysql php5-cli && apt-get clean && rm -rf /var/lib/apt/lists/*

CMD ["/usr/sbin/apache2", "-D", "FOREGROUND"]
1 change: 1 addition & 0 deletions apache-php/test.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?= phpinfo() ?>

0 comments on commit aff8f4c

Please sign in to comment.