Public | Automated Build

Last pushed: 2 years ago
Dockerfile
FROM port22/base ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y RUN apt-get install -y libapache2-mod-php5 git acl ssmtp socat mysql-client \ php5-apcu php5-cli php5-common php5-curl php5-gmp php5-gd php5-imagick php5-json php5-mcrypt php5-mysqlnd php5-intl COPY etc /etc RUN chmod -R 755 /etc/service RUN echo "10.0.0.10 mysql">>/etc/hosts RUN mkdir /run/mysqld RUN echo "<VirtualHost *:80>\nServerName localhost\nDocumentRoot /www\n<Directory /var/www/html>\nAllowOverride All\nOptions -Indexes</Directory>\n</VirtualHost>">/etc/apache2/sites-enabled/000-default.conf RUN a2enmod rewrite EXPOSE 80 VOLUME /var/www/html CMD ["/sbin/my_init"]
Source Repository