Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
jekyll deploy dockerfile
FROM ruby:latest
RUN mkdir /root/.ssh/
RUN touch /root/.ssh/known_hosts
RUN ssh-keyscan -T 60 github.com >> /root/.ssh/known_hosts
COPY autodeploy /root/.ssh/
RUN curl -sL https://deb.nodesource.com/setup_5.x | bash -
RUN apt-get install --yes nodejs git
RUN ssh-agent bash -c 'ssh-add autodeploy; git clone https://github.com/twbs/bootstrap /root/jekyll'
WORKDIR /root/jekyll
# RUN npm install
RUN gem install jekyll rouge
CMD jekyll serve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.