-*- mode: org; mode: visual-line; -*-
Simple Docker build for SSI-enabled Apache (since I got sick of OS X/macOS breaking my configuration on every OS upgrade).
Based on the stock httpd
on Alpine Linux: I’ve marked the changes to httpd.conf
with the comment **SSI**
.
Build with:
docker build -t cassiel/httpd-ssi .
(if you want; it is already in Docker Hub).
Run with:
docker run --rm --name httpd-ssi -p 5000:80 -v "$PWD":/usr/local/apache2/htdocs/ cassiel/httpd-ssi
(changing port, target directory etc. according to taste).