Tonis Tiigi
07810f0aae
llbsolver: validate digest on load
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-02-04 17:06:34 -08:00
Tibor Vass
eefe2e2f21
Merge pull request #811 from tonistiigi/empty-stdin
...
buildctl: detect empty stdin with empty frontend
2019-02-01 20:05:13 -08:00
Tõnis Tiigi
88a5bd5fb4
Merge pull request #812 from tonistiigi/deadlock-fix
...
solver: deadlock fix
2019-02-01 18:41:49 -08:00
Tonis Tiigi
a7df7e2c49
solver: deadlock fix
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-02-01 17:44:26 -08:00
Tonis Tiigi
8344b342a1
buildctl: detect empty stdin with empty frontend
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-02-01 16:41:57 -08:00
Tõnis Tiigi
ac64f29f63
Merge pull request #800 from tiborvass/gomod
...
Migrate to go mod
2019-02-01 11:13:41 -08:00
Tõnis Tiigi
10635d5655
Merge pull request #794 from tonistiigi/git-cancel
...
git: avoid leaking lock files on cancellation
2019-01-31 15:32:45 -08:00
Tibor Vass
175506ff7f
hack: update scripts to be go mod compatible
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-01-31 22:44:47 +00:00
Tibor Vass
ad8b35e3d4
Migrate from vndr to go mod
...
go get -u github.com/tiborvass/gomod
GO111MODULE=on gomod init
GO111MODULE=on go mod tidy
GO111MODULE=on go mod vendor
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-01-31 22:44:47 +00:00
Tõnis Tiigi
c592b7c356
Merge pull request #808 from AkihiroSuda/fix-return-nil
...
fix `if err != nil { return nil }`
2019-01-31 09:23:02 -08:00
Akihiro Suda
1d857d037d
fix `if err != nil { return nil }`
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-02-01 00:43:23 +09:00
Tõnis Tiigi
f5adf7515b
Merge pull request #806 from tonistiigi/cross-fix
...
travis: include win/darwin binaries in cross
2019-01-30 21:07:33 -08:00
Tonis Tiigi
aed586f558
travis: include win/darwin binaries in cross
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-30 15:38:06 -08:00
Tõnis Tiigi
76be359fd1
Merge pull request #796 from tonistiigi/gc-controls
...
Allow quick config of GC
2019-01-27 13:51:39 -08:00
Akihiro Suda
3ba3f5b1ff
Merge pull request #777 from tonistiigi/export-cache-inline
...
allow exporting cache metadata in the image config
2019-01-27 06:40:59 +01:00
Tibor Vass
601817163d
Update docker/cli dependency
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-01-26 22:10:04 +00:00
Tõnis Tiigi
7679d6fa7d
Merge pull request #795 from tonistiigi/fmt-fix
...
client: avoid string formatting on custom vertex names
2019-01-23 08:30:08 -08:00
Akihiro Suda
3ec1e56656
Merge pull request #788 from tonistiigi/frontend-net-none
...
gateway: allow frontends without network
2019-01-23 11:59:40 +01:00
Tonis Tiigi
a7c6e9d465
buildkitd: add containerd worker gc flags
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-22 17:34:40 -08:00
Tonis Tiigi
a1f3f8462c
buildkitd: add oci worker gc flags
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-22 17:34:40 -08:00
Tonis Tiigi
cf31b501ba
buildkitd: add more gc config options
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-22 17:34:40 -08:00
Tonis Tiigi
c0371c908f
client: avoid string formatting on custom vertex names
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-22 15:35:39 -08:00
Tonis Tiigi
e1c0729349
git: avoid leaking lock files on cancellation
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-22 14:04:54 -08:00
Tonis Tiigi
5434a42a6a
client: add inline remote cache tests
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-21 19:39:15 -08:00
Tonis Tiigi
7d41912f36
remotecache: keep layer description
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-21 19:39:15 -08:00
Tonis Tiigi
5be7870549
load parent results on combined cachemanager
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-21 19:39:15 -08:00
Tonis Tiigi
d77d950053
remotecache: walklinks support
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-21 19:39:15 -08:00
Tonis Tiigi
d514afdb20
remotecache: support createdat and fix order
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-21 19:39:15 -08:00
Tonis Tiigi
97eff70c5e
inline remote cache support
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-21 19:39:15 -08:00
Tonis Tiigi
03a2f79561
gateway: allow frontends without network
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-21 19:38:07 -08:00
Akihiro Suda
9c638c446a
Merge pull request #780 from tonistiigi/deterministic-cache
...
Make exported build cache deterministic
2019-01-19 12:45:50 +09:00
Tõnis Tiigi
c5fe22fffe
Merge pull request #778 from tonistiigi/dockerfile-timestamps
...
dockerfile: ensure metadata commands have created time
2019-01-18 13:09:27 -08:00
Tonis Tiigi
ac4037a1d9
solver: keep original cache creation date when copying between stores
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-18 11:19:34 -08:00
Tonis Tiigi
1ec543e384
solver: exclude randomized cache keys from exporter
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-18 11:19:25 -08:00
Tonis Tiigi
db3db1033d
dockerfile: ensure metadata commands have created time
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-18 11:14:45 -08:00
Tõnis Tiigi
3cba03783c
Merge pull request #615 from AkihiroSuda/export-cache-local
...
support local cache exporter and importer
2019-01-18 10:55:02 -08: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
Akihiro Suda
78212e3f72
Merge pull request #782 from AkihiroSuda/runc20190115
...
bump up runc
2019-01-15 17:26:23 +09:00
Akihiro Suda
b42582793a
bump up runc
...
Including critical security fix for `runc run --no-pivot` (unlikely to
affect BuildKit): https://github.com/opencontainers/runc/pull/1962
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-01-15 16:23:21 +09:00
Tõnis Tiigi
4e75ff6854
Merge pull request #768 from AkihiroSuda/procless
...
support --oci-worker-no-process-sandbox
2019-01-12 10:17:55 -08:00
Akihiro Suda
c54f4a986d
support --oci-worker-no-process-sandbox
...
Note that this mode allows build executor containers to kill (and potentially ptrace) an arbitrary process in the BuildKit host namespace.
This mode should be enabled only when the BuildKit is running in a container as an unprivileged user.
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-01-08 10:42:52 +09:00
Tõnis Tiigi
a4e0df83f8
Merge pull request #772 from vanstee/clean-generated-files-export
...
`make generated-files` only copies over generated files from scratch container
2019-01-06 12:38:05 -08:00
Patrick Van Stee
f6c2487225
Isolate generated files for easier copying
...
Signed-off-by: Patrick Van Stee <patrick@vanstee.me>
2019-01-06 06:49:52 -05:00
Tõnis Tiigi
34ff9c2366
Merge pull request #771 from LinuxMercedes/error-on-empty-dockerfile
...
Have parser error on dockerfiles without instructions
2019-01-04 16:33:08 -08:00
linuxmercedes
2ec7d53b00
Parser errors on dockerfiles without instructions
...
See https://github.com/moby/moby/pull/38487 for more discussion.
Signed-off-by: Natasha Jarus <linuxmercedes@gmail.com>
2019-01-04 13:44:52 -06:00
Akihiro Suda
03a86f1071
Merge pull request #767 from tonistiigi/dockerfile-uid-mode
...
dockerfile: allow setting file mode/uid for ssh and secrets
2019-01-04 09:59:49 +09:00
Tonis Tiigi
b521aae3ea
dockerfile: allow setting file mode/uid for secrets
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-03 11:13:40 -08:00
Tonis Tiigi
2529762ae7
dockerfile: allow setting file mode/uid for ssh socket
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-01-03 11:13:34 -08: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