1
0
Fork 0
mirror of synced 2024-12-22 14:41:07 -05:00

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.
This commit is contained in:
Tim Byrne 2019-03-21 22:50:14 -05:00
parent 9fa5c9418c
commit f0c3261e46
No known key found for this signature in database
GPG key ID: 14DB4FC2465A4B12

18
Dockerfile Normal file
View file

@ -0,0 +1,18 @@
FROM jekyll/jekyll:3.8.5
MAINTAINER Tim Byrne <sultan@locehilios.com>
# 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*