Skip to content

Instantly share code, notes, and snippets.


Clipso Clipso

  • KL, Malaysia
View GitHub Profile
Clipso / Dockerfile
Created Dec 26, 2019 — forked from dpup/Dockerfile
Apache and PHP on Docker
View Dockerfile
FROM ubuntu:latest
MAINTAINER Dan Pupius <>
# Install apache, PHP, and supplimentary programs. openssh-server, curl, and lynx-cur are for debugging the container.
RUN apt-get update && apt-get -y upgrade && DEBIAN_FRONTEND=noninteractive apt-get -y install \
apache2 php7.0 php7.0-mysql libapache2-mod-php7.0 curl lynx-cur
# Enable apache mods.
RUN a2enmod php7.0
RUN a2enmod rewrite