A LAMP docker container on ubuntu 16.04
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
480B

  1. FROM ubuntu:xenial
  2. MAINTAINER Theodotos Andreou <theo@ubuntucy.org>
  3. RUN apt-get update \
  4. && apt-get -q -y dist-upgrade \
  5. && DEBIAN_FRONTEND=noninteractive \
  6. apt-get -q -y install --no-install-recommends \
  7. apache2 \
  8. mariadb-server \
  9. php \
  10. libapache2-mod-php \
  11. php-mcrypt \
  12. php-mysql \
  13. && apt-get clean \
  14. && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  15. EXPOSE 80
  16. EXPOSE 443
  17. EXPOSE 3306
  18. ADD entrypoint.sh /
  19. ENTRYPOINT /entrypoint.sh