envygeeks / jekyll-docker

⛴ Docker images, and CI builders for Jekyll.
ISC License
998 stars 282 forks source link

jekyll:pages should use same dependency versions as GitHub Pages #339

Open ericvennemeyer opened 2 years ago

ericvennemeyer commented 2 years ago

I work with an organization that uses GitHub Pages to host their website, and Docker to enable devs to work on changes to the site locally. Beginning several weeks ago, devs began seeing a "no implicit conversion of Hash into Integer" error when attempting to run a Docker container via docker-compose up and using jekyll/jekyll:pages as the image. This seems to be caused by an inherent conflict between Ruby 3 and Jekyll 3, which I've seen other mentions of around the internet while googling the issue.

If jekyll:pages is intended to create a local development environment that matches GitHub Pages, it should use the same dependency versions that GH Pages uses, especially Ruby 2.7.3 and Jekyll 3.9.2.

If not, could you recommend the image we should be using to match current GH Pages dependency versions?