Commit Graph

1105 Commits (ee153409932093e203916b4bfa0abd1eaa0c0a80)

Author SHA1 Message Date
Tonis Tiigi 287b831542 source: remove debug
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-08 13:45:07 -07:00
Tonis Tiigi 6f569455d0 dockerfile: enable tmpfs mounts on run —mount
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-08 13:42:38 -07:00
Tonis Tiigi 596b03a8a0 llbsolver: allow tmpfs mounts
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-08 13:05:14 -07:00
Tõnis Tiigi 2dcbb12f61
Merge pull request #444 from tonistiigi/replace-locker
vendor: replace locker pkg for legal
2018-06-08 11:31:07 -07:00
Tonis Tiigi 6ce604740f vendor: replace locker pkg for legal
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-08 11:00:37 -07:00
Akihiro Suda 60344aa592
Merge pull request #442 from tonistiigi/runmount
dockerfile: add run --mount support
2018-06-09 02:35:34 +09:00
Tõnis Tiigi 7943598281
Merge pull request #439 from AkihiroSuda/vendor-containerd-20180606
update containerd library
2018-06-08 10:33:10 -07:00
Akihiro Suda cf4cc2d6d0
Merge pull request #431 from tonistiigi/dockerfile-symlinks
dockerfile: detect source symlinks with targets
2018-06-08 21:57:53 +09:00
Akihiro Suda 6ee0fece94
Merge pull request #438 from tonistiigi/text-progress
progressui: add better streaming text build status
2018-06-08 21:57:05 +09:00
Akihiro Suda 47a00b84fe update containerd library
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-06-08 21:44:17 +09:00
Tonis Tiigi 055dcb6c09 local: allow followpaths for local source
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-07 23:23:13 -07:00
Tonis Tiigi 479419abf2 llbsolver: don’t error on readonly scratch mount
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-07 16:23:53 -07:00
Tonis Tiigi af03a526e7 dockerfile: run -—mount initial support
Supports binds from images and context and cache mounts.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-07 16:23:40 -07:00
Tonis Tiigi aeea615e85 dockerfile: add run mount parsing
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-07 14:55:13 -07:00
Tõnis Tiigi af94740e92
Merge pull request #441 from ijc/no-tracing-if-not-requested
buildctl: do not trace unless asked.
2018-06-07 10:47:51 -07:00
Tõnis Tiigi 6a2a01d20b
Merge pull request #420 from AkihiroSuda/carry-298
oci-executor: eval symlink for root
2018-06-07 10:42:40 -07:00
Ian Campbell 8f4649242c buildctl: do not trace unless asked.
My `/tmp` was unexpectedly full of `/tmp/buildctlXXXXXXXXX`, lets stop doing
that by default.

Suggesting `/dev/null` as an example seemed a bit strange with the default
changed, so dropped that too while editing.

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-06-07 13:19:29 +01:00
Akihiro Suda 43af03e59a oci-executor: eval symlink for root
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-06-07 16:05:06 +09:00
Akihiro Suda 5646fa3aa0
Merge pull request #437 from kunalkushwaha/mount-slash-run-fix
Default mounts set for buildkit
2018-06-07 15:07:31 +09:00
Kunal Kushwaha e991a846be Default mounts set for buildkit
containerd/oci_specs mounts /run, which is not
required by buildkit.

Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2018-06-07 14:43:44 +09:00
Tonis Tiigi 2037b9540b progressui: constant prefix index for grep
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-06 14:31:48 -07:00
Tonis Tiigi 39e19516fc progressui: add better streaming text build status
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-06 14:31:42 -07:00
Akihiro Suda 3f49c61a00
Merge pull request #432 from orisano/timeout-deprecated
client: use grpc.DialContext and context.WithTimeout instead of grpc.…
2018-06-06 17:33:41 +09:00
Tonis Tiigi 103cd072d6 dockerfile: detect source symlinks with targets
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-05 23:54:13 -07:00
Tonis Tiigi 668eca4685 vendor: update fsutil
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-05 23:54:08 -07:00
Tõnis Tiigi 376093d234
Merge pull request #436 from jessfraz/no-seccomp-tag
support when build without seccomp build tag
2018-06-05 13:34:31 -07:00
Jess Frazelle 48200d7b5e
support when build without seccomp build tag
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-05 14:27:32 -04:00
Tõnis Tiigi 29c42e60a7
Merge pull request #435 from AkihiroSuda/oci-worker-snapshotter-auto-label
oci-worker: resolve snapshotter label to real name
2018-06-05 10:29:40 -07:00
Akihiro Suda b003c68521 oci-worker: resolve snapshotter label to real name
before: `org.mobyproject.buildkit.worker.snapshotter:auto`
after:  `org.mobyproject.buildkit.worker.snapshotter:overlayfs`

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-06-05 17:38:16 +09:00
Nao YONASHIRO 28fc483de0 client: use grpc.DialContext and context.WithTimeout instead of grpc.WithTimeout
Currently, grpc.WithTimeout is deprecated.
2018-06-05 17:34:49 +09:00
Tõnis Tiigi a80e6eba25
Merge pull request #433 from tonistiigi/hack-mitigation
hack: mitigate bug in old docker version
2018-06-05 00:14:54 -07:00
Tõnis Tiigi ad20ed1fe3
Merge pull request #430 from tonistiigi/update-fsutil
vendor: update fsutil to 30b4fcc5
2018-06-04 23:59:35 -07:00
Tonis Tiigi 347b6a3d74 hack: mitigate bug in old docker version
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-04 23:54:44 -07:00
Tõnis Tiigi 43e758232a
Merge pull request #422 from thaJeztah/update_microsoft_vendors
Update containerd and dependencies
2018-06-04 10:37:46 -07:00
Tõnis Tiigi 4bfa5b37f9
Merge pull request #427 from AkihiroSuda/rootless-dockerfile
test.Dockerfile: new target: "rootless"
2018-06-04 10:33:28 -07:00
Sebastiaan van Stijn b5028a234b
Update containerd and dependencies
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-06-04 10:14:06 -07:00
Vincent Demeester a7b7594339
Merge pull request #428 from tomwillfixit/patch-1
Small typo
2018-06-04 16:32:56 +02:00
Akihiro Suda 18ac6e2d9a test.Dockerfile: new target: "rootless"
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-06-04 23:17:03 +09:00
Thomas Shaw 98ed3a531c
Small typo 2018-06-04 15:14:08 +01:00
Tõnis Tiigi b14fd548fe
Merge pull request #426 from AkihiroSuda/wrap-mount-err
snapshot: wrap mount err
2018-06-02 09:19:59 -07:00
Akihiro Suda c2a35a5c6f
Merge pull request #425 from tonistiigi/include-dockerfile-parser
dockerfile: move helper packages
2018-06-02 15:48:34 +09:00
Tonis Tiigi e33d2ac17c contenthash: normalize symlink mode
Mode is not implemented in platform compatible way
so normalize when calculating the checksum.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-01 23:34:51 -07:00
Akihiro Suda 1269bc5682 snapshot: wrap mount err
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-06-02 15:33:26 +09:00
Tonis Tiigi b590c0d970 vendor: update fsutil to 30b4fcc5
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-01 23:09:38 -07:00
Tonis Tiigi a4bc39542f vendor: add missing test dependencies
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-01 20:13:46 -07:00
Tonis Tiigi 76d15da0d5 dockerfile: update imports
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2018-06-01 20:10:18 -07:00
Sebastiaan van Stijn 7d6f79781d Handle multi-digit positional parameters
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

rewritten from github.com/moby/moby 2628896b5e813491f8767ec7fa9d0f057ed4a86e
2018-06-01 20:10:13 -07:00
Sebastiaan van Stijn 13cd59db64 Add detection of "special parameters" for substitution
Detect Special parameters as defined in
http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_05_02

Treat these as parameters that are not set, instead of
producing an error that a modifier is missing.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

rewritten from github.com/moby/moby 9654e9b6f80e1b931763c04400a19596e256c99a
2018-06-01 20:10:13 -07:00
Sebastiaan van Stijn cd7c16b606 Add more test-cases for positional parameters
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

rewritten from github.com/moby/moby 8687a3f4b8b7ffbc3f32dfe959cb771d662211e6
2018-06-01 20:10:13 -07:00
Sebastiaan van Stijn 5e7c39f879 Add line-numbers to asserts
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

rewritten from github.com/moby/moby b80e0309d220268a2b9e6aec5bb05d7af330e591
2018-06-01 20:10:13 -07:00