Skip to content

Instantly share code, notes, and snippets.

@diegomengarda
Last active October 23, 2017 20:00
Show Gist options
  • Save diegomengarda/78f8a3770615d0b8a91e8cbccf8c1ef8 to your computer and use it in GitHub Desktop.
Save diegomengarda/78f8a3770615d0b8a91e8cbccf8c1ef8 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
rm -f /usr/local/apache2/logs/httpd.pid
exec httpd -DFOREGROUND
FROM debian:latest
RUN apt-get update
RUN apt-get install -y apache2
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
COPY ./boot /usr/local/bin/
RUN chmod +x /usr/local/bin/boot
CMD ["boot"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment