Created
July 24, 2017 02:04
-
-
Save chihirokaasan/3e27139931c33f4bd9cbf0a4b167289c to your computer and use it in GitHub Desktop.
CentOS7のapacheベースのphp7のイメージ
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:centos7 | |
MAINTAINER matsuda | |
RUN rm /bin/sh && ln -s /bin/bash /bin/sh | |
RUN yum -y install wget epel-release | |
RUN wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm | |
RUN rpm -Uvh ./remi-release-7.rpm | |
RUN sed -i '4a priority=1' /etc/yum.repos.d/remi-php71.repo | |
RUN yum -y install --enablerepo=remi-php71 php php-fpm php-mcrypt php-cli php-common php-devel php-gd php-mbstring php-mysqlnd php-opcache php-pdo php-pear php-pecl-apcu php-pecl-zip php-process php-xml | |
RUN yum clean all | |
RUN yum install -y httpd | |
RUN yum clean all | |
RUN yum -y update | |
RUN yum clean all | |
RUN yum -y install git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment