Public Repository

Last pushed: 10 months ago
Short Description
Short description is empty for this repo.
Full Description

FROM ubuntu:15.10
MAINTAINER GennadiyVL sigismund.freud@gmail.com
RUN apt-get -y update
RUN apt-get -y upgrade
RUN apt-get -y install apt-utils
RUN apt-get -y install apache2
RUN apt-get -y install php5
RUN apt-get -y install mysql-client
RUN apt-get -y install libapache2-mod-php5
RUN apt-get -y install php5-xdebug
RUN apt-get -y install php-cli-prompt php-json-schema php-symfony-console php-symfony-finder php-symfony-process php5 php5-apcu php5-cli php5-common php5-curl php5-enchant php5-gd php5-gmp php5-imagick php5-imap php5-intl php5-json php5-ldap php5-memcache php5-mysql php5-odbc php5-readline php5-tidy php5-xmlrpc php5-xsl
RUN apt-get -y install nano htop net-tools telnet
RUN apt-get -y install openssh-client openssh-server
RUN apt-get -y install less netcat

ADD 000-default.conf /etc/apache2/sites-available/000-default.conf
ADD php.ini /etc/php5/apache2/php.ini
ADD 0.ini /etc/php5/apache2/conf.d/
ADD *.load /etc/apache2/mods-enabled/
ADD ports.conf /etc/apache2/ports.conf
ADD sshd_config /etc/ssh/sshd_config

#ADD /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/000-default.conf

#ADD /etc/php5/apache2/php.ini /etc/php5/apache2/php.ini

#ADD /etc/apache2/mods-enabled/*.load /etc/apache2/mods-enabled/

#ADD /etc/php5/apache2/conf.d/*.ini /etc/php5/apache2/conf.d/

#VOLUME ["/var/www/test.podzamenu.ru/podzamenu/symfony/web"]

#VOLUME ["/var/www/test.podzamenu.ru/podzamenu/symfony/app/logs/"]

#RUN echo "xdebug.remote_enable=1" >> /etc/php5/apache2/conf.d/20-xdebug.ini

#RUN echo "xdebug.remote_host=127.0.0.1,172.17.0.2,95.154.80.203" >> /etc/php5/apache2/conf.d/20-xdebug.ini

#RUN echo "xdebug.remote_port=9003" >> /etc/php5/apache2/conf.d/20-xdebug.ini

#RUN echo "xdebug.remote_autostart=on" >> /etc/php5/apache2/conf.d/20-xdebug.ini

#RUN echo "xdebug.remote_handler="dbgp"" >> /etc/php5/apache2/conf.d/20-xdebug.ini

#RUN echo "xdebug.remote_mode=req" >> /etc/php5/apache2/conf.d/20-xdebug.ini

#RUN echo "xdebug.idekey=PHPSTORM" >> /etc/php5/apache2/conf.d/20-xdebug.ini

#RUN echo "xdebug.remote_connect_back=1" >> /etc/php5/apache2/conf.d/20-xdebug.ini

RUN echo "xdebug.remote_enable=1" >> /etc/php5/apache2/conf.d/20-xdebug.ini

#RUN echo "xdebug.remote_host=localhost,127.0.0.1,172.17.0.2,95.154.80.203" >> /etc/php5/apache2/conf.d/20-xdebug.ini
RUN echo "xdebug.remote_host=localhost" >> /etc/php5/apache2/conf.d/20-xdebug.ini
RUN echo "xdebug.remote_port=9100" >> /etc/php5/apache2/conf.d/20-xdebug.ini
RUN echo "xdebug.remote_autostart=1" >> /etc/php5/apache2/conf.d/20-xdebug.ini

#RUN echo "xdebug.remote_connect_back=1" >> /etc/php5/apache2/conf.d/20-xdebug.ini

RUN echo "root:Docker!" | chpasswd

EXPOSE 80
EXPOSE 9100
EXPOSE 1234
EXPOSE 22

Docker Pull Command
Owner
gennadiyvl

Comments (0)