github ktock/buildg v0.4.0

latest release: v0.4.1
2 years ago

Notable Changes

Rootless without shellscript(buildg.sh) (#72)

Now buildg can run in rootless mode without shellscript(buildg.sh).

$ buildg debug /path/to/context

Buildg still depends on RootlessKit and slirp4netns on your host.

DAP configurations (examples/dap/nvim/plugins.lua and examples/dap/emacs/dap-dockerfile.el) have also been updated not to use buildg.sh but directly use buildg command.

Release full binary tarball (#76)

For easier installation of buildg, our release artifact starts containing binary dependencies (runc, rootlesskit and slirp4netns) in a single tar (discussed later).

Containerized buildg (#47, #59), thanks to @developer-guy

This release start to distribute containerized buildg on ghcr.io/ktock/buildg.

$ docker run --rm -it --privileged -v /path/to/ctx:/ctx:ro ghcr.io/ktock/buildg:0.4.0 debug /ctx

You can also build this container image on the buildg repo.

$ docker build -t buildg .
$ docker run --rm -it --privileged -v /path/to/ctx:/ctx:ro buildg debug /ctx

Other notable changes

  • Allow launching shell on an arbitrary instruction (#54)
  • Enable cache reuse feature by default (#62)
  • Add reload command to reload and restart Dockerfile (#74)
  • Add log command to show buildg logs (#71)
  • Allow to specify the target breakpoint on continue (#75)
  • Add --version flag (#73)
  • Statically link buildg binary (#57)
  • DAP: update documents and example configurations of IDEs(#43, #48, #50, #80)

About the binaries

  • Minimal(e.g. buildg-v0.4.0-linux-amd64.tar.gz): contains only buildg binary
  • Full(e.g. buildg-full-v0.4.0-linux-amd64.tar.gz): contains buildg and its dependencies

Minimal

Extract it to a path like /usr/local/bin/ or ~/bin/

list of files
-rwxr-xr-x root/root  23724032 2022-09-05 08:53 buildg

Full

Extract it to a path like /usr/local/ or ~/.local

list of files
drwxr-xr-x 0/0               0 2022-09-05 08:56 bin/
-rwxr-xr-x 0/0        23916544 2022-09-05 08:56 bin/buildg
-rwxr-xr-x 0/0         9443526 2022-05-02 08:24 bin/rootlessctl
-rwxr-xr-x 0/0        10879193 2022-05-02 08:24 bin/rootlesskit
-rwxr-xr-x 0/0        13733640 2022-09-05 08:56 bin/runc
-rwxr-xr-x 0/0         2338128 2022-09-05 08:56 bin/slirp4netns
drwxr-xr-x 0/0               0 2022-09-05 08:56 share/
drwxr-xr-x 0/0               0 2022-09-05 08:56 share/doc/
drwxr-xr-x 0/0               0 2022-09-05 08:56 share/doc/buildg-full/
-rw-r--r-- 0/0             329 2022-09-05 08:56 share/doc/buildg-full/README.md
-rw-r--r-- 0/0             508 2022-09-05 08:56 share/doc/buildg-full/SHA256SUMS

The sha256sum of SHA256SUM is 9a6ba435ab420e0b19b1e242f8bf8eb835a8cb1f631deb7bf0a9e10671d42637

Don't miss a new buildg release

NewReleases is sending notifications on new releases.