pages-gem icon indicating copy to clipboard operation
pages-gem copied to clipboard

[Docker/alpine]: missing dependency for nokogiri

Open kevinnls opened this issue 2 years ago • 0 comments

Before submitting an issue, please be sure to

This issue affects

  • [ ] The site generated by GitHub Pages
  • [x] Building sites locally

The GitHub Pages Gem is intended to help users replicate the GitHub Pages build environment locally. If your issue affects both the hosted version and the version previewed locally, you may be better suited reporting seeking support in other forums.

What did you do (e.g., steps to reproduce)

  1. enable the jemoji plugin in _config.yml
  2. make image_alpine
  3. SITE=/path/to/site make server

What did you expect to happen?

a running local server

What happened instead?

build failed because the nokogiri gem couldn't access the shared library ld-linux-aarch64.so.1

Additional information


NB this does not affect the image built from Dockerfile.alpine@e9d9768.

However I feel it would be nice to include the required library in the image because

  • emoji are used quite often while blogging today
  • most users of the Docker images are likely to prefer the Alpine one for local development thanks to it's smaller size on disk

kevinnls avatar Jun 22 '22 06:06 kevinnls