2016-09-22 12:50:54 +03:00
|
|
|
FROM ubuntu:xenial
|
|
|
|
|
|
|
|
MAINTAINER Theodotos Andreou <theo@ubuntucy.org>
|
|
|
|
|
2016-09-22 14:34:39 +03:00
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get -q -y dist-upgrade \
|
|
|
|
&& DEBIAN_FRONTEND=noninteractive \
|
|
|
|
apt-get -q -y install --no-install-recommends \
|
|
|
|
apache2 \
|
|
|
|
mariadb-server \
|
|
|
|
php \
|
|
|
|
libapache2-mod-php \
|
|
|
|
php-mcrypt \
|
|
|
|
php-mysql \
|
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
2016-09-22 12:50:54 +03:00
|
|
|
|
2016-09-22 14:34:39 +03:00
|
|
|
EXPOSE 80
|
|
|
|
EXPOSE 443
|
|
|
|
EXPOSE 3306
|
|
|
|
|
2016-09-22 14:48:07 +03:00
|
|
|
ADD entrypoint.sh /
|
2016-09-22 14:34:39 +03:00
|
|
|
|
|
|
|
ENTRYPOINT /entrypoint.sh
|