Created
January 31, 2018 06:08
-
-
Save ara-ta3/f3946630f4088c631971a3a87ee77ad3 to your computer and use it in GitHub Desktop.
This file contains 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
tag=tarata/php-with-httpd | |
build: | |
docker build -f ./php-with-httpd -t $(tag) . | |
This file contains 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 centos:centos6 | |
RUN yum install -y epel-release | |
RUN yum install -y http://rpms.famillecollet.com/enterprise/remi-release-6.rpm | |
RUN yum update -y | |
RUN yum install -y mod_ssl tree sendmail sendmail-cf vim mysql nc | |
RUN yum install -y --enablerepo=remi,remi-php71 php php-common php-mysql php-xml php-simplexml httpd php-pecl-xdebug | |
RUN service httpd stop | |
RUN curl https://raw.githubusercontent.com/Eficode/wait-for/master/wait-for > /opt/wait-for | |
RUN chmod +x /opt/wait-for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment