[Docker/alpine]: missing dependency for nokogiri
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 48/100
Direzione di ricerca
Inizia da Dockerfile.alpine, in particolare dalla versione collegata nell’issue, ed esegui make image_alpine con il plugin jemoji abilitato. Verifica che l’immagine Alpine possa avviare il server locale tramite SITE=/path/to/site make server senza che Nokogiri non riesca a caricare la sua libreria condivisa.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Before submitting an issue, please be sure to
- Read the contributing instructions
- Update to the latest Gem version (run
bundle update github-pages)
This issue affects
- The site generated by GitHub Pages
- 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)
- enable the
jemojiplugin in _config.yml make image_alpineSITE=/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
-
Nokogiri depends on
glibc- Linux aarch64-linux (req: glibc >= 2.29) including musl/Alpine
- Nokogiri docs on supported platforms
- Linux aarch64-linux (req: glibc >= 2.29) including musl/Alpine
-
From the Nokogiri docs on musl having error loading shared library
Musl-based systems like Alpine may not have a glibc-compatible library installed,
leading to problems running the precompiled native gems. -
and also the solution
Install the glibc compatibility layer:
apk add gcompat
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
- Lingua principale
- Ruby
- Stelle
- 1.9k
- Fork
- 361
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/pages-gem
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Serving SQLite database files with sql.js-httpvfs broken due to gzip encoding on HEAD requestsAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 5/100
-
index.htmlAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 5/100
Tutte le issue di github/pages-gem
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
jetrockets/jet_ui#47 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
FreeCAD/homebrew-freecad#870 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Messages with a markdown image that has a relative or malformed URL throw TypeError: Invalid URLAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno