Skip to content

Instantly share code, notes, and snippets.

@fjorgemota
Created January 14, 2016 23:03
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 fjorgemota/0bc5e7a872bf185ba872 to your computer and use it in GitHub Desktop.
Save fjorgemota/0bc5e7a872bf185ba872 to your computer and use it in GitHub Desktop.
Basic DockerFile based on Ubuntu Trusty image and with Apache 2 installed
FROM ubuntu:trusty
RUN apt-get update
RUN apt-get install -y apache2 vim
EXPOSE 80
ENTRYPOINT ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment