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

Add binaries to the releases?

Aperta
#550 4 commenti 4 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
32/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github, ocaml

Direzione di ricerca

Inizia dal processo di build esistente e dalla pagina delle release di GitHub collegata, quindi esamina come vengono prodotti i build di opam/OCaml per Windows, macOS e Linux. Il lavoro è completato quando alle release vengono aggiunti binari utilizzabili di hyperkit e vpnkit per queste piattaforme, senza richiedere agli utenti di riprodurre il fragile processo di build locale.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Would like to use hyperkit & vpnkit for a microvm project, but I've found getting this built is harder on Windows than it is on Mac and Linux.

The entire build process seems a bit messy right now, making it really hard for an outsider to make use of this tool. Also cygwin only has opam 2.0.0 available, so it makes build consistency non-existent between platforms.

I'm currently at the point I've been trying to build opam 2.1.1 from source with windows/cygwin and I don't think it's going to work. My github action has been running for a couple hours now.

Could we just get the hyperkit binaries added to the releases for windows/mac/linux? It seems likely that the build will continue to break as opam/ocaml fail to produce consistent results as those projects evolve. In my case, I would like to spend more time testing cool ideas than living in build/dependency hell (which is where I am right now 😢 ).


Edit: As of now I've given up on making builds of vpnkit. I'm just ripping it from the Docker Desktop installers for now.

curl -sLo Docker.dmg https://desktop.docker.com/mac/main/amd64/Docker.dmg
hdiutil attach Docker.dmg
cp /Volumes/Docker/Docker.app/Contents/Resources/bin/com.docker.vpnkit ./vpnkit
umount /Volumes/Docker
xattr -c ./vpnkit
codesign --remove-signature ./vpnkit

brew install p7zip
curl -sLo DockerDesktopInstaller.exe https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe
7z -oextracted-docker-files x DockerDesktopInstaller.exe
mv extracted-docker-files/resources/vpnkit.exe ./vpnkit.exe
rm -rf extracted-docker-files

Regarding the Linux binary, I'll probably just pull that from djs55/vpnkit and relinking it.

Lingua principale
OCaml
Stelle
1.2k
Fork
213
Merge medio
20m
PR unite (30g)
1

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 moby/vpnkit

Tutte le issue di moby/vpnkit

Issue simili

Altre issue su Build System

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.