Created
December 31, 2015 10:13
-
-
Save bigyan/1373367b6673637fa013 to your computer and use it in GitHub Desktop.
YIPL-SLW Sample Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
MAINTAINER Bigyan | |
RUN apt-get update | |
RUN apt-get install apache2 -y | |
RUN apt-get install php5 libapache2-mod-php5 php5-mcrypt -y | |
RUN sed -i 's/DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm/DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm/g' /etc/apache2/mods-enabled/dir.conf | |
ADD index.php /var/www/html/index.php | |
CMD ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment