Commit Graph

94 Commits (be6de5138bf23883f689aa37b57bef76e4b04ad2)

Author SHA1 Message Date
ktock 3152eab58f Enable to forcefully specify compression type
Signed-off-by: ktock <ktokunaga.mail@gmail.com>
2021-07-07 12:00:06 +09:00
Justin Garrison 94531c5eb5 Add rancher kim to tools using buildkit
Signed-off-by justinleegarrison@gmail.com

A new tool for building containers.

Signed-off-by: Justin Garrison <justinleegarrison@gmail.com>
2021-05-05 09:55:39 -07:00
Jesse Rittner 0406194498 Add --metadata-file flag to output build metadata
Signed-off-by: Jesse Rittner <rittneje@gmail.com>
2021-05-01 00:46:55 -04:00
Anders F Björklund 0028c5ed7f Add support for fd:// for socket activation
Used go-systemd code from moby/moby daemon

Only added `buildkitd --addr fd://` for now.

Don't do systemd fds for windows buildkitd

Add buildkit systemd units README/examples

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2020-12-30 16:57:23 +01:00
Tõnis Tiigi 50f6e618fb
Merge pull request #1883 from tonistiigi/images-readme
docs: add readme used for registry images
2020-12-13 21:05:55 -08:00
Tonis Tiigi 128b98642a docs: add readme used for registry images
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-12 01:01:51 -08:00
Tonis Tiigi 9f6172c8bd docs: update external dockerfile docs
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-08 21:26:18 -08:00
CrazyMax 00570378a8
Remove travis support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-26 19:02:04 +01:00
CrazyMax e22c19d77f
Refactor test for GitHub Actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-22 04:04:01 +01:00
CrazyMax f8cdeb2626
Switch to travis-ci.com
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-21 20:29:56 +01:00
Tonis Tiigi dcbd31e1e0 readme: document oci-mediatypes cache export option
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-10-26 12:13:59 -07:00
Akihiro Suda 8d5e9f8294
new connection helper: podman-container://<CONTAINER>
Similar to `docker-container://` but for Podman containers.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-08-06 15:38:16 +09:00
Akihiro Suda 1957461428
README.md: add HLB, Earthfile, and Cargo Wharf
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-07-27 15:04:11 +09:00
Akihiro Suda f22f2fc103
README.md: drop cgroup v2 notes
cgroup v2 is supported since runc v1.0.0-rc91 (will be included in
BuildKit since v0.7.2)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-07-27 14:31:42 +09:00
Andrey Smirnov 1155ddc02b Add `bldr` project link to README as LLB language frontend
Project [bldr](https://github.com/talos-systems/bldr) provides a way to package and build software as container
images leveraging LLB/buildkit as backend. It translates high-level
`.yaml` build instructions into LLB instructions.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-05-27 00:18:19 +03:00
Vlad A. Ionescu f928f4f7d7 Add Earthly as project using buildkit
Signed-off-by: Vlad A. Ionescu <vladaionescu@users.noreply.github.com>
2020-04-16 14:33:39 -07:00
Akihiro Suda a1bf12f806
Merge pull request #1303 from jingxiaolu/README_inline_cache
README.md: update description of inline cache use for output
2020-03-13 04:45:08 +09:00
Akihiro Suda b42528249a
Merge pull request #1295 from zabio3/bugfix/issue1242
support specifying a custom tag using --import-cache type=local
2020-03-11 13:10:22 +09:00
Akihiro Suda 9584b6e05b README.md: update Fedora 31 instruction
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-03-10 19:06:12 +09:00
l00397676 8244958486 README.md: update description of inline cache use for output
Fix #1294

Signed-off-by: Lu Jingxiao <lujingxiao@huawei.com>
2020-03-10 09:59:23 +08:00
zabio3 6f3a6e72d4 fix readme
https://github.com/moby/buildkit/issues/1242

Signed-off-by: Tomohiro Kusumoto <zabio1192@gmail.com>
2020-03-07 08:58:10 +09:00
zabio3 807b20346e support specifying a non-latest tag using --import-cache type=local
https://github.com/moby/buildkit/issues/1242

Signed-off-by: Tomohiro Kusumoto <zabio1192@gmail.com>
2020-01-29 21:32:55 +09:00
Wei Fu 65388edc6c exporter: support compression for layer blob data
Allow user to choose the compression type for layer data. Gzip is
default compression for layer exporter, which consume more Cpu resources
and take long time to export. With compression option, user can use
nocompressed option to export to save time. And future, zstd is one new
option for end-user.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2019-12-09 23:51:38 +08:00
Tõnis Tiigi e486c1193f
Merge pull request #1247 from tonistiigi/dangling-naming
exporter: add canonical and dangling image naming
2019-11-12 10:02:04 -08:00
Pablo Chico de Guzman 7a9f5e7696 Used by Okteto Cloud
Signed-off-by: Pablo Chico de Guzman <pchico83@gmail.com>
2019-11-12 10:33:13 +01:00
Tonis Tiigi 6c70bacf8e readme: document available options for image output
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-11-06 18:26:31 -08:00
Akihiro Suda 6e090f5820 README.md: fix description about local cache
Fix #1234

This has been already implemented.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-11-01 15:09:00 +09:00
Akihiro Suda 04ba0e64a2 docs for Fedora 31 users
BuildKit with crun works fine on cgroup2 system.
Tested both Rootful and Rootless on Fedora 31, with crun v0.10.2.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-29 15:02:38 +09:00
Akihiro Suda 1bde5d99d5 massive doc updates
* examples/kubernetes: newly added
* docs/rootless.md: cleaned up for better readability
* examples/README.md: split out from the main README.md
* examples/build-using-dockerfile/README.md: split out from the main README.md
* README.md: add TOC using https://github.com/thlorenz/doctoc
* README.md: add mTLS configuration (relates to #1074)
* README.md: add more adoptions
* README.md: add inline cache (fix #976)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-16 18:55:27 +09:00
Darren Shepherd c73d942012 Update Rio status
Signed-off-by: Darren Shepherd <darren@rancher.com>
2019-09-14 16:50:23 -07:00
Christian Höltje ff07bc1df4 readme: formatting and lint
Signed-off-by: Christian Höltje <docwhat@gerf.org>
2019-07-27 18:03:54 -04:00
Colin Chartier ba96ff1e2d Add sanic to list of projects using buildkit
Signed-off-by: Colin Chartier <colin.n.chartier@gmail.com>
2019-07-12 13:29:02 -04:00
lalyos 8dc64d698d fix BULDKIT_HOST documentation for docker connection helper
Signed-off-by: Lajos Papp <lalyos@yahoo.com>
2019-07-01 20:10:08 +02:00
Akihiro Suda bf220d3915 add buildctl-daemonless.sh
The script spawns ephemeral daemon for "daemonless" UX.

Usage:
  docker run -it --rm  \
  --security-opt seccomp=unconfined --security-opt apparmor=unconfined \
  -e BUILDKITD_FLAGS=--oci-worker-no-process-sandbox \
  -v /path/to/dir:/tmp/work \
  --entrypoint buildctl-daemonless.sh \
  moby/buildkit:master-rootless \
  build --frontend dockerfile.v0 --local context=/tmp/work --local dockerfile=/tmp/work

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-05-26 12:39:34 +09:00
StefanSchoof 85473310ca better text for example
Signed-off-by: StefanSchoof <Stefan.Schoof@direkt-gruppe.de>
2019-05-19 12:27:11 +00:00
StefanSchoof c91e44a724 add testresult example to readme
Signed-off-by: StefanSchoof <Stefan.Schoof@direkt-gruppe.de>
2019-05-09 17:54:21 +00:00
Akihiro Suda fc044d0e6b new connhelper: kube-pod
Fix #769
Relates to tonistiigi/buildx#22

Usage:

  $ kubectl run --generator=run-pod/v1 --image moby/buildkit:master-rootless bk -- --oci-worker-no-process-sandbox
  $ export BUILDKIT_HOST=kube-pod://bk

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-04-19 20:34:00 +09:00
Michael Crosby 23a16a90ed Replace boss callout with vab
`vab` is a small build frontend that uses buildkit to build images or
output files localy from a Dockerfile.  Its pretty sweet.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-18 15:47:30 -04:00
Dave Chen e825df33b6 Update README
- trace info will be exported only when the path to trace file is specified
- the correction on the cache import/export parameters desc

Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-04-09 20:14:54 -07:00
digger18 86debe8251 Update README.md
Signed-off-by: Ziv Tsarfati <digger18@gmail.com>
2019-04-05 14:09:05 +03:00
Tonis Tiigi c1a1d7033d exporter: add tar exporter
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-03-27 09:40:24 -07:00
Akihiro Suda 5c9f7b8ff0 buildctl: new CLI ("Option C+")
See https://github.com/moby/buildkit/pull/807#issuecomment-468146089

Close #774

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-03-06 13:20:21 +09:00
Akihiro Suda 340cb430aa Makefile: new target: images
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-03-02 15:42:10 +09:00
Akihiro Suda 6e7617e889 support local cache exporter and importer
Export:

  $ buildctl build ... --export-cache type=local,store=/path/to/output-dir

Import:

  $ buildctl build ... --import-cache type=local,store=/path/to/input-dir

Impact on CLI:
* Old (deprecated but still effective): `--export-cache localhost:5000/myrepo:buildcache --export-cache-opt mode=max`
* New: `--export-cache type=registry,ref=localhost:5000/myrepo:buildcache,mode=max`

Impact on API:
* New fields are added to control.proto and gateway.proto. The daemon
internally translates old API calls to the new ones.
* While new API can be used for `registry` caches, the client continues
to use the legacy API for `registry` caches to ensure compatibility with
old daemons.
* To import `local` caches with a frontend, the frontend needs to support
a new frontend opt `cache-imports`.

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-01-19 02:38:26 +09:00
Tõnis Tiigi c471ab81af
Merge pull request #761 from AkihiroSuda/containerd-121
update containerd to v1.2.1, runc to v1.0.0-rc6
2018-12-28 14:46:53 +02:00
Akihiro Suda 6ed72d683f update containerd to v1.2.1, runc to v1.0.0-rc6
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-12-26 19:48:01 +09:00
Sebastiaan van Stijn 96e86fb1b3
Add CONTRIBUTING, CODE_OF_CONDUCT
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-12-17 12:44:29 +01:00
Tonis Tiigi 3926820e3a update dockerfile repo location
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-12-03 11:06:17 +01:00
Akihiro Suda b5003d53eb update docs
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-11-01 16:17:26 +09:00
Tonis Tiigi fb9e2c1030 vendor: update containerd to v1.2.0-rc.1
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-10-12 15:27:54 -07:00