github / pages-gem

A simple Ruby Gem to bootstrap dependencies for setting up and maintaining a local Jekyll environment in sync with GitHub Pages
http://pages.github.com
MIT License
1.82k stars 350 forks source link

(docker): add glibc compat to Alpine image #840

Open kevinnls opened 2 years ago

kevinnls commented 2 years ago

the reason

the nokogiri gem depends on glibc

Musl-based systems like Alpine may not have a glibc-compatible library installed, leading to problems running the precompiled native gems.

ref: https://nokogiri.org/tutorials/installing_nokogiri.html#linux-musl-error-loading-shared-library

extensive details at #839

what is affected

  1. one more package and its two dependencies are installed via system package manager
  2. image size increases by 1MB

    resolves #839