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
Tibor Vass
5aa12caefe
Merge pull request #1023 from tonistiigi/local-cancel
...
local: handle canceled uploads
2019-05-29 18:33:54 -07:00
Tonis Tiigi
42cd080667
imageutil: keep config and manifest lease for time based cache
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-05-28 19:18:56 -07:00
Tonis Tiigi
ab23a1ab1b
pull: add cache for gcr bug
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-05-28 18:51:55 -07:00
Tonis Tiigi
d72c19071a
imageutil: use leases on fetching config
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-05-28 14:39:05 -07:00
Tonis Tiigi
74190cfff8
worker: add leases to fromremote
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-05-28 14:39:05 -07:00
Tonis Tiigi
8e25187cc7
pull: fix content blobs deletion on pull race
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-05-28 14:39:05 -07:00
Tonis Tiigi
669e65e6fe
local: handle canceled uploads
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-05-28 14:06:17 -07:00
Akihiro Suda
2f118e929a
Merge pull request #1019 from tonistiigi/parent-release-fix
...
cache: fix releasing parent on error
2019-05-28 17:30:38 +09:00
Tonis Tiigi
6defbb2356
cache: fix releasing parent on error
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-05-27 21:58:25 -07:00
Tõnis Tiigi
c0865a53bf
Merge pull request #1021 from AkihiroSuda/buildctl-daemonless-sh
...
add buildctl-daemonless.sh
2019-05-25 23:36:38 -07:00