Public Repository

Last pushed: 7 months ago
Short Description
Ubuntu with apache2 and PHP 5.6
Full Description

Dockerfile

FROM ubuntu
MAINTAINER Cyro Ciolfi

RUN apt-get update && apt-get install -y apache2 net-tools python-software-properties vim software-properties-common openssl mysql-client libxml2-dev && \
add-apt-repository -y ppa:ondrej/php && apt-get update --allow-unauthenticated && apt-get install -y php5.6 php5.6-mysql php5.6-common php5.6-mbstring php5.6-xml php-gettext --a$
rm -f /etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list && apt-get update && apt-get clean && a2enmod php5.6

env APACHE_RUN_USER www-data
env APACHE_RUN_GROUP www-data
env APACHE_PID_FILE /var/run/apache2.pid
env APACHE_RUN_DIR /var/run/apache2
env APACHE_LOCK_DIR /var/lock/apache2
env APACHE_LOG_DIR /var/log/apache2

WORKDIR /var/www/html

CMD ["apache2", "-D", "FOREGROUND"]

Docker Pull Command
Owner
cyrocc

Comments (0)