Skip to content

Instantly share code, notes, and snippets.

@yoshimov
Created May 22, 2014 08:43
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 yoshimov/3b4bdb1c29b45ede0323 to your computer and use it in GitHub Desktop.
Save yoshimov/3b4bdb1c29b45ede0323 to your computer and use it in GitHub Desktop.
Dockerfile for jekyll build.
# Docker file for Jekyll build
FROM ubuntu:13.10
RUN apt-get update
RUN apt-get install -y ruby2.0 ruby2.0-dev build-essential screen
RUN gem install jekyll
RUN gem install therubyracer
VOLUME [ "/jekyll" ]
CMD [ "jekyll", "build", "-s", "/jekyll", "-d", "/jekyll/_site" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment