Skip to content

Instantly share code, notes, and snippets.

@DeepSnowNeeL
Created October 19, 2020 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DeepSnowNeeL/b2f0467f6e77dd32f5b0bc22e28b638d to your computer and use it in GitHub Desktop.
Save DeepSnowNeeL/b2f0467f6e77dd32f5b0bc22e28b638d to your computer and use it in GitHub Desktop.
Simple Dockerfile for workshop
FROM ubuntu
ENV APACHE_RUN_USER www-data
ENV APACHE_RUN_GROUP www-data
ENV APACHE_LOG_DIR /var/web/log/apache2
ENV APACHE_PID_FILE /var/run/apache2.pid
ENV APACHE_RUN_DIR /var/run/apache2
ENV APACHE_LOCK_DIR /var/lock/apache2
RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get -
y -q upgrade && apt-get -y -q install apache2
EXPOSE 80 443
CMD ["apache2ctl","-D","FOREGROUND"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment