Dockerfile complete
This commit is contained in:
parent
2552f075cc
commit
e42608ffcc
19
Dockerfile
19
Dockerfile
|
@ -2,4 +2,23 @@ FROM ubuntu:xenial
|
|||
|
||||
MAINTAINER Theodotos Andreou <theo@ubuntucy.org>
|
||||
|
||||
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/*
|
||||
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
EXPOSE 3306
|
||||
|
||||
ADD entrypoint.sh
|
||||
|
||||
ENTRYPOINT /entrypoint.sh
|
||||
|
|
Loading…
Reference in a new issue