Fix Dockerfile for working with local previews #1559
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The Dockerfile that we provide for working with local previews of the website content was based an old Jekyll container image. This container image fails to build the site with the following error after a recent required update to the
github-pages
dependency:This PR updates the Dockerfile to use a newer Jekyll container image and updates the relevant documentation about using containers for local website development.
The
jekyll/jekyll:stable
image that this change is based on is also a bit stale at this point (it was last updated 21 months ago), but at least it allows us to achieve parity with the versions of Jekyll andgithub-pages
used by GitHub Pages for the live site.Checklist:
I have previewed changes locally or with CircleCI (runs when PR is created)When you are ready for a technical review/merge, post the for the link for the PR in the US-RSE Slack (#website) to ask for reviewers.