Akihiro Suda
1281fcdf6c
Merge pull request #225 from tonistiigi/git-test
...
dockerfile: add test for building from git repo
2017-12-18 15:20:53 +09:00
Tonis Tiigi
367752bf1c
dockerfile: add test for building from git repo
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-17 21:09:20 -08:00
Akihiro Suda
e39675bf3d
Merge pull request #226 from tonistiigi/rootpath
...
replace FollowSymlink with fs.RootPath
2017-12-18 14:08:15 +09:00
Tonis Tiigi
e58e6d1175
replace FollowSymlink with fs.RootPath
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-17 20:54:49 -08:00
Akihiro Suda
8c9d66f7da
Merge pull request #218 from tonistiigi/dockerignore
...
dockerfile: dockerignore support
2017-12-18 11:40:55 +09:00
Tonis Tiigi
2d3f36d359
source: add sharedkeyhint to local source
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-15 15:13:15 -08:00
Tonis Tiigi
08e1c2990c
dockerfile: add dockerignore support
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-15 15:03:35 -08:00
Tõnis Tiigi
51fc6661bb
Merge pull request #222 from AkihiroSuda/fix-debug-meta
...
buildctl: fix dump-metadata
2017-12-15 11:05:06 -08:00
Akihiro Suda
a24ab34522
buildctl: fix dump-metadata
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-12-15 16:44:09 +09:00
Akihiro Suda
5fa37d1da7
Merge pull request #214 from tonistiigi/parse-identifier
...
source: add function for parsing llb to identifier
2017-12-15 10:13:03 +09:00
Akihiro Suda
bbb05c98cb
Merge pull request #217 from tonistiigi/ctx-fix
...
dockerfile: fix wrong context passed to build
2017-12-14 14:36:29 +09:00
Tonis Tiigi
5d457719be
dockerfile: fix wrong context passed to build
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-13 21:17:50 -08:00
Akihiro Suda
8fa227c801
Merge pull request #213 from tonistiigi/dockerfile-dedupe
...
frontend: make dockerfile.v0 and external frontend use same code
2017-12-14 11:07:21 +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
46e816965b
gateway: fix returning nil references
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-13 17:29:03 -08:00
Tonis Tiigi
fc5d833cc1
gateway: fix unreleased references
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-13 16:51:31 -08:00
Tonis Tiigi
98e91f8b70
frontend: make dockerfile.v0 and external frontend use same code
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-13 16:51:25 -08:00
Tonis Tiigi
ad7c6a905c
source: add function for parsing llb to identifier
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-13 16:43:49 -08:00
Tonis Tiigi
afd146ccf9
buildctl: print progressbar to stderr
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-13 09:57:33 -08: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
Tonis Tiigi
2e9f0c42f5
client: add test for OCI exporter
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-13 09:57:33 -08:00
Tonis Tiigi
6edccb7913
exporter: add OCI exporter
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-13 09:57:28 -08:00
Tõnis Tiigi
63fb9b69d6
Merge pull request #209 from AkihiroSuda/make-install
...
Makefile: add `install` and `clean`
2017-12-13 08:59:12 -08:00
Akihiro Suda
c6690523eb
Makefile: add `install` and `clean`
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-12-13 16:03:02 +09:00
Akihiro Suda
451f4b66c7
Merge pull request #212 from AkihiroSuda/split-solver-0
...
misc refactoring to split solver to smaller pieces
2017-12-13 15:56:32 +09:00
Akihiro Suda
ead75c0d95
solver.mergeRemoteCache -> cache/instructioncache.Union
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-12-13 15:16:46 +09:00
Tonis Tiigi
8840dc7439
image: separate imagewriter to own struct
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-12 22:12:35 -08:00
Akihiro Suda
89450211fa
*: deduplicate instructioncache definitions
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-12-13 15:03:14 +09:00
Akihiro Suda
29e5bef684
solver: split llbbridge to a separate file (TODO: separate pkg)
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-12-13 14:47:09 +09:00
Akihiro Suda
571e14e003
Merge pull request #203 from tonistiigi/user
...
Add support for setting user
2017-12-13 13:06:07 +09:00
Akihiro Suda
9dee46bbfa
Merge pull request #208 from tonistiigi/fix-cancel
...
containerd: fix cancellation issue
2017-12-13 12:58:08 +09:00
Tonis Tiigi
4c1ffbcc45
containerd: fix cancellation issue
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-12 19:15:29 -08:00
Akihiro Suda
b242f0ce76
Merge pull request #206 from tonistiigi/runc-test
...
runc: change runc test to require
2017-12-13 12:05:59 +09:00
Akihiro Suda
2edec73aa6
Merge pull request #207 from tonistiigi/optimize-config-resolve
...
Optimize config resolve
2017-12-13 12:05:24 +09:00
Tonis Tiigi
e4f98e252d
dockerfile: avoid pulling config for unreachable stages
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-12 15:02:19 -08:00
Tonis Tiigi
2db636479c
source: avoid parallel resolve of same config
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-12 15:02:15 -08:00
Tonis Tiigi
d0f8125af9
imageutil: avoid pulling unwanted manifests
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-12 15:02:11 -08:00
Tonis Tiigi
e5e24af1f5
runc: change runc test to require
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-12 14:59:24 -08:00
Tonis Tiigi
6626255a71
dockerfile: add support for user
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-12 10:28:37 -08:00
Tonis Tiigi
7a5390f355
worker: add support for custom user
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-12 10:26:30 -08:00
Tõnis Tiigi
60ea0babb5
Merge pull request #176 from AkihiroSuda/multiworker
...
multi-worker daemon
2017-12-12 10:09:03 -08:00
Akihiro Suda
c3aa849014
multi-worker daemon
...
- [X] put multiples workers in a single binary ("-tags containerd standalone")
- [X] add worker selector to LLB vertex metadata
- [X] s/worker/executor/g
- [X] introduce the new "worker" concept https://github.com/moby/buildkit/pull/176#discussion_r153693928
- [X] fix up CLI
- [X] fix up tests
- allow using multiples workers (requires inter-vertex cache copier, HUGE!) --> will be separate PR
Implementation notes:
- "Workers" are renamed to "executors" now
- The new "worker" instance holds an "executor" instance and its
related stuffs such as the snapshotter
- The default worker is "runc-overlay"
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-12-12 15:17:58 +09:00
Akihiro Suda
6fc7699ffc
Merge pull request #204 from tonistiigi/release-fix
...
cache: fix setting root labels on commit
2017-12-12 09:56:15 +09:00
Akihiro Suda
68b757970e
Merge pull request #205 from tonistiigi/expose-args
...
dockerfile: add support for EXPOSE args
2017-12-12 09:54:59 +09:00
Tonis Tiigi
72afc856c8
dockerfile: add support for EXPOSE args
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-11 16:35:31 -08:00
Tonis Tiigi
41be7f1ab8
cache: remove view on last release
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-11 15:37:32 -08:00
Tonis Tiigi
013f95eaf7
cache: fix setting root labels on commit
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-12-11 15:37:27 -08:00
Akihiro Suda
b7664f71b9
Merge pull request #201 from tonistiigi/containerd-cancellation
...
worker: fix containerd cancellation and cleanup
2017-12-11 12:36:19 +09:00
Akihiro Suda
950f05560f
Merge pull request #200 from tonistiigi/git-submodules
...
git: fix checking out submodules
2017-12-11 12:01:35 +09:00
Akihiro Suda
8cc6bacfc4
Merge pull request #202 from tonistiigi/resolvconf
...
worker: setup own resolvconf and hosts
2017-12-11 11:57:38 +09:00