Tonis Tiigi
61a4e20547
util: patch atomic 64bit alignment
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-07-16 17:23:36 -07:00
Tõnis Tiigi
82c91badd3
Merge pull request #1063 from tiborvass/fix-1062
...
vendor: update containerd to 7c1e88399
2019-07-16 14:24:51 -07:00
Tibor Vass
7901ac88e0
vendor: update containerd to 7c1e88399
...
To update containerd with go mod, it is NOT possible to simply do:
```
go get github.com/containerd/containerd@7c1e88399ec0
```
because it would result in:
```
v1.2.1-0.20190507210959-7c1e88399ec0
```
which is an incorrect version prefix as we want the commit 7c1e88399
from master to have higher priority than a tagged version such as v1.2.*
We want to use a `v1.3.0-0.` prefix even though v1.3.* tags do not exist,
so that when they do, those do have higher priority compared to 7c1e88399.
In other words, containerd's master branch corresponds to a v1.3 dev branch.
The following was thus used to update containerd:
```
go get -d github.com/containerd/containerd@v1.3.0-0.20190507210959-7c1e88399ec0
go get -d github.com/opencontainers/runc@v1.0.0-rc8
make vendor
```
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-07-16 18:31:47 +00:00
Akihiro Suda
aee28f4deb
Merge pull request #1077 from tonistiigi/exporter-lease
...
exporter: keep lease when exporting images
2019-07-15 21:19:27 +09:00
Akihiro Suda
e368049d2e
Merge pull request #1075 from tonistiigi/context-paths
...
dockerfile: do not add linked and cache paths to context sources
2019-07-15 21:19:17 +09:00
Tonis Tiigi
0d22b5056f
exporter: keep lease when exporting images
...
As manifests may be temporary if the same image is built in parallel one build can delete the manifest+config before the export for another finishes.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-07-12 13:12:45 -07:00
Tõnis Tiigi
6e7d3a1062
Merge pull request #1076 from ColinChartier/master
...
Add sanic to list of projects using buildkit
2019-07-12 11:03:03 -07:00
Colin Chartier
ba96ff1e2d
Add sanic to list of projects using buildkit
...
Signed-off-by: Colin Chartier <colin.n.chartier@gmail.com>
2019-07-12 13:29:02 -04:00
Tonis Tiigi
0cd68f6491
dockerfile: do not add linked and cache paths to context sources
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-07-11 17:11:59 -07:00
Tõnis Tiigi
db487c0cd0
Merge pull request #1071 from tiborvass/fix-osuser-panic
...
hack: fix runtime panic due to osuser build tag not set
2019-07-09 22:15:23 -07:00
Tibor Vass
969be2068e
hack: fix runtime panic due to osuser build tag not set
...
Looks like due to a bug in Dockerfile frontend, only the BUILDKITD_TAGS
build arg was taken into account, not the env var.
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-07-10 04:27:37 +00:00
Tõnis Tiigi
a258bd18b2
Merge pull request #1060 from tiborvass/fix-windows
...
executor/oci: Fix windows compile
2019-07-09 17:12:47 -07:00
Tibor Vass
144958f91d
executor/oci: compile on windows
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-07-09 23:38:42 +00:00
Tibor Vass
477d7ef53d
hack: build buildkitd for windows in buildkit-flavored Dockerfile
...
This is not meant to produce any working Windows binary of buildkitd.
Purpose is to catch compile failures on windows early.
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-07-09 23:38:42 +00:00
Tõnis Tiigi
21034f4234
Merge pull request #1064 from zabio3/using-rawstring-regex
...
Simplify regular expression by using raw string literal
2019-07-02 17:39:42 -07:00
Tibor Vass
21ed8f5c1d
Merge pull request #1068 from tonistiigi/env-formatting
...
llb: fix excessive formatting
2019-07-02 14:28:23 -07:00
Tibor Vass
fe8289063b
Merge pull request #1049 from tonistiigi/llb-validation
...
llbsolver: add more llb validation
2019-07-02 10:13:25 -07:00
Tonis Tiigi
5fc18fda78
llbsolver: add more llb validation
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-07-01 23:52:20 -07:00
Akihiro Suda
6b9018d97b
Merge pull request #1067 from lalyos/fix-connection-helper-docs
...
fix BULDKIT_HOST documentation for docker connection helper
2019-07-02 12:48:03 +09:00
Tonis Tiigi
717bb1d769
dockerfile: add test for formatting in env
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-07-01 16:55:17 -07:00
Tonis Tiigi
1ef979a7bb
llb: fix excessive formatting
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-07-01 16:55:08 -07:00
lalyos
8dc64d698d
fix BULDKIT_HOST documentation for docker connection helper
...
Signed-off-by: Lajos Papp <lalyos@yahoo.com>
2019-07-01 20:10:08 +02:00
zabio3
be2691d06c
using raw string literal
...
regular expressions have their own escape sequences, raw strings can improve their readability.
Signed-off-by: Tomohiro Kusumoto <zabio1192@gmail.com>
2019-06-30 12:24:25 +09:00
Akihiro Suda
a61393a5bc
Merge pull request #1044 from tonistiigi/fromremote-gc-race
...
worker: fix gc race on fromremote
2019-06-26 15:41:27 +08:00
Tõnis Tiigi
db670c6f4b
Merge pull request #1040 from tiborvass/pass-dns-to-resolvconf
...
executor: allow setting DNSConfig to be used by resolvconf
2019-06-17 17:02:18 -07:00
Tibor Vass
8e692507ee
executor: allow setting DNSConfig to be used by resolvconf
...
This patch allows downstream code to pass a DNSConfig that is
then used by executor/oci.GetResolvConf.
This would allow the BuildKit-based builder in Docker to honor
the docker daemon's DNS configuration, thus fixing a feature gap
with the legacy builder.
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-06-17 20:43:33 +00:00
Tonis Tiigi
276fee0727
worker: fix gc race on fromremote
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-06-17 10:42:08 -07:00
Tibor Vass
914d86758c
Merge pull request #1024 from tonistiigi/gcr-workaround
...
pull: add cache for gcr bug
2019-06-17 10:36:49 -07:00
Tibor Vass
b7ea8f13b8
Merge pull request #1036 from tonistiigi/error-tracing
...
add more error tracing
2019-06-17 10:25:23 -07:00
Tibor Vass
c24275065a
Merge pull request #1046 from tonistiigi/userns-fixes
...
fixes for userns remapping
2019-06-10 17:43:07 -07:00
Tonis Tiigi
7b41906d89
executor: create hosts and resolv.conf with userns root
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-06-10 16:35:03 -07:00
Tonis Tiigi
17300c1046
file: avoid setting implicit root on idmap
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-06-10 16:34:43 -07:00
Tonis Tiigi
e7ad765fcd
executor: create directories as 711
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-06-10 16:34:09 -07:00
Tibor Vass
d3cdcbf1f9
Merge pull request #1045 from tonistiigi/flaky-test-fix
...
fix flaky TestBasicInlineCacheImportExport
2019-06-10 15:17:50 -07:00
Tonis Tiigi
8e47580f71
fix flaky TestBasicInlineCacheImportExport
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-06-10 14:16:42 -07:00
Akihiro Suda
5a8fe20f4d
Merge pull request #1027 from chendave/default
...
Add default configuration as a reference
2019-06-10 17:40:32 +09:00
Tonis Tiigi
e2dcafa5ca
Removing wrapf for review
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-06-07 12:04:47 -07:00
Tonis Tiigi
0f1c7d0412
session: use errors cause
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-06-06 21:15:21 -07:00
Tonis Tiigi
61f1bc138b
solver: add error tracing to edge connections
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-06-06 21:15:21 -07:00
Tonis Tiigi
b087d06adb
cache: error tracing on cache importer
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-06-06 21:15:21 -07:00
Tonis Tiigi
d3597181e0
session: wrap errors with debug info
...
Make sure to cover the grpc errors origins.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-06-06 21:15:21 -07:00
Tonis Tiigi
ed6bbb2bf5
cache: add more error tracing
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-06-06 21:15:21 -07:00
Dave Chen
3d0815be33
Add default configuration as a reference
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-06-06 16:57:23 +08:00
Tibor Vass
1f89ec125f
Merge pull request #1033 from tiborvass/resolved-systemd
...
executor: use systemd resolvconf if enabled
2019-06-04 08:54:57 -07:00
Tibor Vass
749294397b
executor: use systemd resolvconf if enabled
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-06-04 15:22:47 +00:00
Tõnis Tiigi
37d53758a6
Merge pull request #1038 from tonistiigi/riscv64_detection
...
binfmt_misc: add riscv64 detection
2019-06-04 00:11:32 -07:00
Tonis Tiigi
964d73da58
binfmt_misc: add riscv64 detection
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-06-03 23:21:25 -07:00
Tõnis Tiigi
f53dcc830b
Merge pull request #1029 from CpuID/cpuid_dockerfile_parser_endline
...
frontend/dockerfile/parser: export endLine (make public)
2019-05-30 23:38:22 -07:00
Nathan Sullivan
7c2b06fae9
export parser endLine (make public). StartLine is already public.
...
https://github.com/moby/buildkit/issues/1028
Signed-off-by: Nathan Sullivan <nathan@nightsys.net>
2019-05-31 13:48:02 +10:00
Tibor Vass
c13518e56b
Merge pull request #1013 from tonistiigi/pull-leases
...
pull: fix content blobs deletion on pull race
2019-05-30 13:32:15 -07:00