Commit Graph

825 Commits (65b526438b86a17cf35042011051ce15c8bfb92a)

Author SHA1 Message Date
Tõnis Tiigi 65b526438b
Merge pull request #419 from AkihiroSuda/rootless
oci-worker: experimental support for rootless mode
2018-05-31 19:42:11 -07:00
Akihiro Suda 90b0faae17
Merge pull request #418 from tonistiigi/dockerfile-url
dockerfile: support building from a Dockerfile URL
2018-06-01 11:28:01 +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
Tonis Tiigi 6b25a56906 dockerfile: support building from a Dockerfile URL
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-30 13:20:27 -07:00
Akihiro Suda a3f37e2780
Merge pull request #416 from tonistiigi/git-transports
git: support all git transports
2018-05-30 16:58:39 +09:00
Akihiro Suda cca48c09bb
Merge pull request #417 from tonistiigi/update-containerd
vendor: update containerd to 7f800e0a
2018-05-30 07:50:22 +09:00
Tonis Tiigi 1067c24df2 git: support all git transports
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-29 10:56:08 -07:00
Tonis Tiigi ff501ac064 vendor: update containerd to 7f800e0a
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-29 10:30:33 -07:00
Akihiro Suda 8b131af00d
Merge pull request #415 from tonistiigi/window-size
progressui: handle zero window size
2018-05-26 06:59:52 +09:00
Akihiro Suda e2fc1a702d
Merge pull request #414 from tonistiigi/stdio-debug
exec: make stdio debugging optional
2018-05-26 06:59:04 +09:00
Tonis Tiigi 5727898274 progressui: handle zero window size
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-25 14:38:06 -07:00
Akihiro Suda 1055746728
Merge pull request #413 from tonistiigi/remove-debug
exec: remove debug
2018-05-26 06:32:25 +09:00
Tonis Tiigi 6b23ab01ce exec: make stdio debugging optional
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-25 11:15:32 -07:00
Tonis Tiigi 97ddeffdb2 exec: remove debug
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-05-25 10:45:10 -07:00
Akihiro Suda 09fdcb24dc
Merge pull request #411 from tonistiigi/seccomp-detect
executor: runtime check if seccomp is supported
2018-05-25 09:30:31 +09:00
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