From f0c3261e46842e7ab241b3020458010e6e3deca5 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Thu, 21 Mar 2019 22:50:14 -0500 Subject: [PATCH] Add Dockerfile for building yadm/jekyll image This new image will be used for testing the website builds. In addition to Jekyll functionality, the new image will have http-proofer and yamllint. --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b599212 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM jekyll/jekyll:3.8.5 +MAINTAINER Tim Byrne + +# Convenience settings for the testbed's root account +RUN echo 'set -o vi' >> /root/.bashrc + +# Create a flag to identify when running inside the yadm/jekyll image +RUN touch /.yadmjekyll + +# Extra dependencies for testing +RUN gem install html-proofer +RUN apk add --update py-pip +RUN pip install yamllint==1.15.0 + +# # Gemfile dependencies (for speed) +# COPY Gemfile /tmp/Gemfile +# RUN bundle install --gemfile=/tmp/Gemfile +# RUN rm -f /tmp/Gemfile*