Tonis Tiigi
1e096c4ce9
dockerfile: allow builds from http context
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-16 23:03:52 -07:00
Akihiro Suda
74ab4583ec
Merge pull request #385 from tonistiigi/cache-mount
...
llb: add support for persistent cache mounts
2018-05-17 11:17:32 +09:00
Akihiro Suda
10003f2c2d
Merge pull request #384 from tonistiigi/syntax-directive
...
dockerfile: add syntax directive for introducing new features
2018-05-17 11:16:47 +09:00
Akihiro Suda
80f113196d
Merge pull request #390 from tiborvass/fix-nil-labels-panic
...
dockerfile: ensure Labels map is not accessed when nil
2018-05-17 11:15:10 +09:00
Akihiro Suda
c4bffb7e06
Merge pull request #382 from moby/llbsolver-next
...
Upgrade to llbsolver-next
2018-05-17 11:14:23 +09:00
Tibor Vass
a2d2551dcd
dockerfile: ensure Labels map is not accessed when nil
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2018-05-17 01:30:19 +00:00
Tõnis Tiigi
160231c665
Merge pull request #389 from tiborvass/fix-invalid-dockerignore
...
dockerfile: fix hanging when encountering invalid dockerignore pattern
2018-05-16 17:08:02 -07:00
Tibor Vass
ae37b85b24
dockerfile: fix hanging when encountering invalid dockerignore pattern
...
This commit fixes the case when "!" is provided alone as a dockerignore
pattern resulting in buildkit hanging. An integration test is added to
guard the bug.
The bug was due to incorrect error propagation in the fsutil package.
Thus this commit vendors a newer, fixed version of fsutil.
Signed-off-by: Tibor Vass <tibor@docker.com>
2018-05-16 23:26:43 +00:00
Tõnis Tiigi
7a4a2a2d8d
Merge pull request #388 from tonistiigi/update-grpc-opentracing
...
vendor: update grpc-opentracing
2018-05-16 15:07:40 -07:00
Tonis Tiigi
b4884bf54e
vendor: update grpc-opentracing
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-16 11:57:17 -07:00
Tonis Tiigi
2bd78c3c6e
llbsolver: add support for cached mount type
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-15 12:24:20 -07:00
Tonis Tiigi
692bdc8aa5
llbsolver: comments for exec op mount handling
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-15 12:09:59 -07:00
Tonis Tiigi
460fb33da7
dockerfile: add syntax directive for introducing new features
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-15 10:00:48 -07:00
Tonis Tiigi
fc888e6413
solver: move cachestorage testsuite
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
71f5e6dd21
solver: rename solver-next to solver
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
3efe262d8f
llbsolver: return build result early
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
a66885e70c
cache: reenable last used metadata
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
acdaf17cf0
exec: use direct immutableref methods
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
3040783254
cache: helper methods for immutableref
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
a55d206cdb
dockerfile: add no-cache support
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
1b4ce4324f
buildctl: add export-cache-opt flags
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
f00ba89a30
llbsolver: support detecting existing remotes
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
57693f3c64
control: allow setting cache export mode
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
335b1c3660
llbsolver: update for new cache variables
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
f617d38aaa
rename cacheimport to remotecache
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
1f8be73034
update cacheimport variable names
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
a7bc9b9fd2
cache: maintain creation time with remote cache
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
439877f59c
solver-next: add design doc
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
cea5d60dfa
dockerfile: add cache import/export test
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
644540e0f1
gateway: update gateway to cache import refs
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
966d3f7b32
dockerfile: add cache-from support
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
11ada4c27b
frontend: enable importref for frontends
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
3ca07f1467
api: allow multiple cache import refs
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
4ee4ebcb13
cacheimport: fix result checking methods
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
75bc38c15b
client: add basic cache import test
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
a2072e6a47
git: fix cachemap bug on sha identifier
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
9c044db670
llbsolver: update pull for multiple cache keys
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
77c2793ebb
remove unused packages
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
69097924af
cache: temporarily remove updateLastUsed
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
b6c782d53e
control: switch to use solver-next
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
355126e080
cacheimport: implementation using v1 package
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
7b5fc36f5f
cacheimport: add spec and utils package
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
0e7f60ca96
llbsolver: implementation for solver-next
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tonis Tiigi
30538e3da3
llbsolver: add new ops implementations
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-14 09:53:34 -07:00
Tõnis Tiigi
be6da00944
Merge pull request #381 from ijc/windows-tcp-dialer
...
client: support non-npipe server addresses on Windows
2018-05-14 09:09:23 -07:00
Ian Campbell
f57186d186
client: support non-npipe server addresses on Windows
...
This makes `tcp://w.x.y.z:port` work from Windows based clients (perhaps
talking to a remote Linux based buildkitd or one running in a container with
Docker for Windows and TCP port forwarding).
Signed-off-by: Ian Campbell <ijc@docker.com>
2018-05-14 15:15:08 +01:00
Tõnis Tiigi
896e65bd09
Merge pull request #377 from AkihiroSuda/containerd-20180511
...
update containerd (binary: v1.1.0, library: May 11, 2018)
2018-05-11 11:56:44 -07: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
832d054126
Merge pull request #375 from tonistiigi/cache-gc
...
cache: avoid reloading snapshots in gc queue
2018-05-11 12:11:20 +09:00
Tõnis Tiigi
cb0e74cd8e
Merge pull request #367 from AkihiroSuda/test-containerd-11
...
integration: add containerd v1.1
2018-05-10 16:09:45 -07:00