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
Akihiro Suda
2fa4c37854
update containerd (binary: v1.1.3, library: Aug 23, 2018)
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-08-23 16:21:55 +09:00
Akihiro Suda
864fa7465e
integration: rename "/opt/containerd-1.0/bin/containerd" worker to "containerd-1.0"
...
Having '/' in a worker name is confusing.
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-07-06 15:32:02 +09:00
Tonis Tiigi
61b1be96ac
readme: update dockerfile image
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-28 14:35:26 -07:00
Tonis Tiigi
15d34839f4
readme: remove usage warning
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-12 21:55:44 -07:00
Thomas Shaw
98ed3a531c
Small typo
2018-06-04 15:14:08 +01:00
Akihiro Suda
c9c0603847
fix rootless docs
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-06-01 13:04:55 +09:00
Akihiro Suda
adef0dedef
oci-worker: experimental support for rootless mode
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-05-31 16:05:13 +09:00
Akihiro Suda
72c08b5cb9
update containerd (binary: v1.1.0, library: May 11, 2018)
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-05-11 15:46:15 +09:00
Akihiro Suda
126f91dea7
update containerd (binary: v1.0.3, library: Apr 3, 2018)
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-04-04 17:22:20 +09:00
Akihiro Suda
ecf2e8dbc9
llb: update docs
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-02-27 16:06:01 +09:00
Tonis Tiigi
7906fb3085
vendor: update containerd to v1.0.2
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-02-13 16:00:09 -08:00
Akihiro Suda
e2f4777103
update containerd (binary: v1.0.2-rc.0, library: Feb 1, 2018)
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-02-01 18:38:32 +09:00
Akihiro Suda
a39256e9bf
update containerd (binary: v1.0.1, library: Jan 23, 2018)
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-01-23 12:55:45 +09:00
Tonis Tiigi
b8dc00de71
vendor: update containerd to 1.0.1-rc0
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-01-11 17:49:09 -08:00
Tonis Tiigi
eb027792b5
readme: add tracing note
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-01-08 18:03:12 -08:00
Tonis Tiigi
7505bee044
readme: fix word
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-20 23:00:18 -08:00
Tonis Tiigi
a8e9c7eccb
readme: update instructions
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-20 21:38:56 -08:00
Akihiro Suda
2f2b72989c
*: buildd -> buildkitd
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-12-19 13:23:27 +09:00
Tonis Tiigi
85c0f99ba0
exporter: add Docker compatible exporter
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-18 12:19:17 -08:00
Akihiro Suda
2a33b2e822
*: update build tags (`containerd` -> `no_oci_worker`)
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-12-18 15:47:56 +09:00
Akihiro Suda
682ac0248c
Merge pull request #211 from tonistiigi/ociexport
...
exporter: add OCI exporter
2017-12-14 11:05:08 +09:00
Tonis Tiigi
50de5ab5a4
readme: add oci exporter example
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-13 09:57:33 -08:00