Last active
October 23, 2017 20:00
-
-
Save diegomengarda/78f8a3770615d0b8a91e8cbccf8c1ef8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
rm -f /usr/local/apache2/logs/httpd.pid | |
exec httpd -DFOREGROUND |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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