Skip to content

Instantly share code, notes, and snippets.

View Clipso's full-sized avatar
🎯
Focusing

Clipso Clipso

🎯
Focusing
View GitHub Profile
@Clipso
Clipso / Dockerfile
Created December 26, 2019 07:17 — forked from dpup/Dockerfile
Apache and PHP on Docker
FROM ubuntu:latest
MAINTAINER Dan Pupius <dan@pupi.us>
# 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