Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Docker/alpine]: missing dependency for nokogiri

Aperta
#839 0 commenti 12 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
docker, ruby
Ambito
devops

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
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)
  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
Lingua principale
Ruby
Stelle
1.9k
Fork
361
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/pages-gem

Tutte le issue di github/pages-gem

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.