Commit Graph

910 Commits (76d15da0d50b385f778731f5aad60c585478efcd)

Author SHA1 Message Date
Tonis Tiigi 3b874e95f1 executor: runtime check if seccomp is supported
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-24 16:34:35 -07:00
Tõnis Tiigi 7df95aada6
Merge pull request #404 from tiborvass/fix-copy-bugs
dockerfile: use updated tonistiigi/copy:v0.1.1 image
2018-05-24 14:26:37 -07:00
Tibor Vass 9adfee1475 dockerfile: use updated tonistiigi/copy:v0.1.1 image
https://github.com/tonistiigi/copy/pull/3

Signed-off-by: Tibor Vass <tibor@docker.com>
2018-05-24 20:57:45 +00:00
Tõnis Tiigi 6a103ab0ac
Merge pull request #403 from tonistiigi/modtime
Fixes for cache invalidation on modtime change
2018-05-24 13:51:50 -07:00
Tõnis Tiigi 8d3a30583f
Merge pull request #406 from ijc/foreign-platform-handling
handling of foreign platform clients
2018-05-24 13:51:39 -07:00
Ian Campbell ef1a79a1c1 Allow caller to specify platform for use with imagemetaresolver.
This needs to be plumbed through to `imageutil.Config` which is also used from
the `containerimage` package. Since that is used in the context of a Worker the
`platforms.Default()` (corresponding to the platform of the worker itself) is
appropriate so apply a default at that level.

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-05-24 11:23:35 +01:00
Akihiro Suda c7c9c6cde1
Merge pull request #408 from tonistiigi/cmd-shell-fix
dockerfile: fix entrypoint override rules
2018-05-24 14:33:35 +09:00
Tonis Tiigi 5fbaff4f66 dockerfile: add test for cmd override and shell
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-23 13:27:35 -07:00
Tonis Tiigi 1fad598adf dockerfile: add withShell
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-23 12:19:10 -07:00
Tonis Tiigi 50386f3772 dockerfile: reset cmd from parent on entrypoint
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-23 12:18:14 -07:00
Tonis Tiigi 03d9b00d9c http: include modtime in cache hash
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-22 22:24:30 -07:00
Akihiro Suda a830e4a967
Merge pull request #405 from tonistiigi/pull-scratch
Allow empty results in llbsolver
2018-05-23 11:46:48 +09:00
Tonis Tiigi eefc49ff72 dockerfile: detect empty images early
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-22 16:54:04 -07:00
Tonis Tiigi 8084e8cde9 llbsolver: allow empty returns for opts
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-22 15:46:32 -07:00
Tonis Tiigi 53738b8211 dockerfile: allow ignorecache on copy
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-22 10:50:36 -07:00
Akihiro Suda 06d81be140
Merge pull request #401 from tonistiigi/relative-wd
llb: fix relative working directory in client
2018-05-22 16:04:24 +09:00
Akihiro Suda 779d8fa5b2
Merge pull request #400 from tonistiigi/proxy-args
Add proxy args support
2018-05-22 16:04:12 +09:00
Tonis Tiigi 7e232f5181 llb: fix relative working directory in client
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-21 20:46:37 -07:00
Tõnis Tiigi d3eacf02f8
Merge pull request #398 from AkihiroSuda/embed-version
hack: embed git revison into binaries
2018-05-21 20:35:26 -07:00
Akihiro Suda c2fa5972e2
Merge pull request #402 from tonistiigi/global-arg-test
dockerfile: add global arg test
2018-05-22 10:43:40 +09:00
Tonis Tiigi a9dea8b235 dockerfile: add global arg test
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-21 17:10:21 -07:00
Tonis Tiigi 286cf44db3 dockerfile: add default build-arg support
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-21 16:08:12 -07:00
Tonis Tiigi 66488dc6d8 exec: support proxy settings
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-21 16:08:11 -07:00
Tõnis Tiigi 56d9fb9941
Merge pull request #387 from AkihiroSuda/tmp20180516
dockerfile: fix `ADD https://.../foo.tar.gz /local/foo.tar.gz`
2018-05-21 09:47:14 -07:00
Akihiro Suda f350cbeb53 hack: embed git revison into binaries
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-05-21 20:00:45 +09:00
Akihiro Suda 199eb01177 dockerfile: fix `ADD https://.../foo.tar.gz /local/foo.tar.gz`
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-05-21 15:15:27 +09:00
Akihiro Suda 05534046d3
Merge pull request #395 from tonistiigi/fix-typos
docs: fix typos
2018-05-19 10:28:01 +09:00
Tonis Tiigi 7a0ab0e8f6 docs: fix typos
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-18 18:08:44 -07:00
Akihiro Suda 2a445c46f4
Merge pull request #394 from tonistiigi/http-transport
http: allow setting transport from options
2018-05-19 01:59:53 +09:00
Tonis Tiigi 179366acc7 http: allow setting transport from options
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-17 16:11:48 -07:00
Tõnis Tiigi e3faff8b0d
Merge pull request #393 from AkihiroSuda/split-pull
split puller from source/containerimage into util/pull
2018-05-17 14:55:48 -07:00
Akihiro Suda d22e5a1721 split puller from source/containerimage into util/pull
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-05-18 06:14:06 +09:00
Tõnis Tiigi 6a9afe4249
Merge pull request #392 from AkihiroSuda/fix-example-libseccomp
examples/buildkit*: add libseccomp-dev
2018-05-17 14:06:46 -07:00
Akihiro Suda c12e3170af examples/buildkit*: add libseccomp-dev
libseccomp-dev is required for building containerd:

  > make bin/containerd
  ..
  # pkg-config --cflags libseccomp libseccomp
  Package libseccomp was not found in the pkg-config search path.
  ..

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-05-17 17:28:08 +09:00
Akihiro Suda 10d0378755
Merge pull request #391 from tonistiigi/http-context
dockerfile: allow builds from http context
2018-05-17 15:43:01 +09:00
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