https://github.com/ripta/vib
Vastly Indifferent Builder
https://github.com/ripta/vib
Last synced: 17 days ago
JSON representation
Vastly Indifferent Builder
- Host: GitHub
- URL: https://github.com/ripta/vib
- Owner: ripta
- Created: 2019-07-31T08:36:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-31T08:36:19.000Z (almost 6 years ago)
- Last Synced: 2025-05-07T22:56:08.226Z (24 days ago)
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
vib - Vastly Indifferent Builder
Experiments in using Moby's Low-Level Builder (LLB) directly.
To use, you'll first need to run buildkitd. If your docker already has it
enabled, you need to find out its listening address; the default listening
socket is:unix:///run/buildkit/buildkitd.sock
If your docker does not have buildkitd but you can run a privileged container,
then you could run buildkitd in docker:docker run --detach --rm --privileged --publish 1234:1234 ripta/buildkit:commit-fb5324c609465f9b0713cbce5f8a36eb119be144 --addr tcp://0.0.0.0:1234
for any arbitrary free port 1234, which would make the buildkit gRPC endpoint
available on the host machine:tcp://127.0.0.1:1234
Compile vib from the root of this repository:
go build ./cmd/vib
and look at what buildkit workers are available to you:
./vib --definition examples/demo.json --output docker.io/ripta/vib-demo:test --addr tcp://127.0.0.1:1234