Public Repository

Last pushed: 2 years ago
Short Description
php5.4
Full Description

Dockerfile

FROM centos:centos6
MAINTAINER Jihun Lee <zeroion83@gmail.com>

RUN rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
RUN yum -y install libjpeg* libpng* freetype* gd-*
RUN yum -y install httpd
RUN yum -y install mysql mysql-server
RUN yum -y install php54w php54w-cli php54w-common php54w-mbstring php54w-mcrypt php54w-mysqlnd php54w-pdo
RUN yum -y install openssh-clients
RUN yum -y install git
RUN yum -y install which
RUN sed -i 's/short_open_tag = Off/short_open_tag = On/' /etc/php.ini
RUN yum -y install wget
RUN yum -y install tar
RUN wget https://github.com/phpmyadmin/phpmyadmin/archive/RELEASE_4_0_10_8.tar.gz \
    && mv RELEASE_4_0_10_8.tar.gz /usr/share/ \
    && tar xvzfp /usr/share/RELEASE_4_0_10_8.tar.gz -C /usr/share/ \
    && mv /usr/share/phpmyadmin-RELEASE_4_0_10_8 /usr/share/phpmyadmin \
    && rm /usr/share/RELEASE_4_0_10_8.tar.gz \
    && cp /usr/share/phpmyadmin/config.sample.inc.php /usr/share/phpmyadmin/config.inc.php \
    && echo '<Directory "/usr/share/phpmyadmin">' >> /etc/httpd/conf.d/phpmyadmin.conf \
    && echo 'Allow from 127.0.0.1' >> /etc/httpd/conf.d/phpmyadmin.conf \
    && echo '</Directory>' >> /etc/httpd/conf.d/phpmyadmin.conf \
    && echo 'Alias /phpmyadmin /usr/share/phpmyadmin' >> /etc/httpd/conf.d/phpmyadmin.conf \
    && echo 'Alias /phpMyAdmin /usr/share/phpmyadmin' >> /etc/httpd/conf.d/phpmyadmin.conf \
    && echo 'Alias /mysqladmin /usr/share/phpmyadmin' >> /etc/httpd/conf.d/phpmyadmin.conf
Docker Pull Command
Owner
lifepost