I launched two environments with 2 Dockerfile (One with Ubuntu, and one with Debian) on Amazon Web Service (BeanStalk)
DOCKERFILE UBUNTU :
FROM ubuntu:12.04
RUN apt-get update
RUN apt-get install -y emacs apt-utils
RUN apt-get install -y php5 php5-cli ldap-utils apache2 libapache2-mod-php5 php5-mysql
php-pear php5-dev php5-gd php5-mcrypt
RUN apt-get install -y libapache2-mod-auth-mysql
RUN apt-get install -y curl libcurl3 libcurl3-dev php5-curl
RUN apt-get install -y zziplib-bin
RUN apt-get install -y openssl
RUN a2enmod php5
RUN a2enmod rewrite
ENV APACHE_RUN_USER www-data
ENV APACHE_RUN_GROUP www-data
ENV APACHE_LOG_DIR /var/log/apache2
ENV APACHE_LOCK_DIR /var/lock/apache2
ENV APACHE_PID_FILE /var/run/apache2.pid
EXPOSE 80
CMD /usr/sbin/apache2ctl -D FOREGROUND
DOCKERFILE DEBIAN :
FROM debian
RUN apt-get update
RUN apt-get install -y emacs apt-utils
RUN apt-get install -y php5 php5-cli ldap-utils apache2 libapache2-mod-php5 php5-mysql
php-pear php5-dev php5-gd php5-mcrypt
RUN apt-get install -y libapache2-mod-auth-mysql
RUN apt-get install -y curl libcurl3 libcurl3-dev php5-curl
RUN apt-get install -y zziplib-bin
RUN apt-get install -y openssl
RUN a2enmod php5
RUN a2enmod rewrite
ENV APACHE_RUN_USER www-data
ENV APACHE_RUN_GROUP www-data
ENV APACHE_LOG_DIR /var/log/apache2
ENV APACHE_LOCK_DIR /var/lock/apache2
ENV APACHE_PID_FILE /var/run/apache2.pid
EXPOSE 80
CMD /usr/sbin/apache2ctl -D FOREGROUND
I don't understand why the debian version doesn't work...
I have only this error :
Create environment operation is complete, but with command timeouts. Try increasing the timeout period. For more information, see troubleshooting documentation.
Can you help me ? Any ideas ?