Jeffrey Huang
20258652b3
Fix issue #1230
...
To support switching the OCI worker binary via buildkitd and without modifying the Dockerfile, an optional command-line flag was added to main_oci_worker.go that allowed for input the name of an OCI worker binary (ex. crun). This OCI worker binary would then replace the current buildkit-runc with a symbolic link to that binary. The above was done using the os/exec package's Command func.
Signed-off-by: Jeffrey Huang <jeffreyhuang23@gmail.com>
2019-12-12 04:33:24 -06:00
Tõnis Tiigi
9257b28e43
Merge pull request #1252 from SamWhited/bump_systemd_dep
...
all: bump the systemd dep to use Go Modules
2019-12-10 11:18:58 -08:00
Nikhil Pandeti
6a9ce04908
Gofmt and goimports used on changed file
...
Signed-off-by: Nikhil Pandeti <nikhil.pandeti@utexas.edu>
2019-12-10 08:54:34 -06:00
Nikhil Pandeti
0206c71206
Fix issue #1240
...
Allow build to run even if import cache of type=local is not found
Added an additional check in solve.go to catch errors thrown when
local import caches are not found. If none are found, continues as
if no import cache was specified.
Signed-off-by: Nikhil Pandeti <nikhil.pandeti@utexas.edu>
2019-12-10 00:55:29 -06:00
Tõnis Tiigi
a4a5b62be2
Merge pull request #1277 from fuweid/me-support-compression
...
exporter: support compression for layer blob data
2019-12-09 08:46:13 -08:00
Wei Fu
65388edc6c
exporter: support compression for layer blob data
...
Allow user to choose the compression type for layer data. Gzip is
default compression for layer exporter, which consume more Cpu resources
and take long time to export. With compression option, user can use
nocompressed option to export to save time. And future, zstd is one new
option for end-user.
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2019-12-09 23:51:38 +08:00
Tõnis Tiigi
fafbf993ed
Merge pull request #1278 from fuweid/me-enhance-mountfrom
...
push: update dist repo source for mountFrom
2019-12-06 08:51:29 -08:00
Wei Fu
1845c31ee7
push: update dist repo source for mountFrom
...
For new built layers, it can be pushed into remote registry. However, it
might not be pulled as base layer. Before this commit, the dist repo
source label for mountFrom call only is updated at pull stage. Without
mountFrom, it will take long time to push existing layers which can be
mountFrom. Based on this case, we should update dist repo source after
pushing layer successfully.
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2019-12-07 00:37:19 +08:00
Edgar Lee
7562a6638a
Fix empty string id in result ref
...
Signed-off-by: Edgar Lee <edgarl@netflix.com>
2019-12-05 11:10:05 -08:00
Tõnis Tiigi
b1f83754d5
Merge pull request #1273 from thaJeztah/fix_invalid_stagename_error
...
frontend/dockerfile: show original stagename in error-message
2019-11-26 11:11:33 -08:00
Sebastiaan van Stijn
2105de3499
frontend/dockerfile: show original stagename in error-message
...
Before this change, the error message would show the invalid name in lowercase:
docker build -<<'EOF'
FROM busybox AS foo:$BAR
EOF
[+] Building 0.2s (2/2) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 67B 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
failed to solve with frontend dockerfile.v0: failed to create LLB definition: Dockerfile parse error line 1: invalid name for build stage: "foo:$bar", name can't start with a number or contain symbols
With this patch, the invalid stagename is shown as-is
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-11-26 13:50:40 +01:00
Tõnis Tiigi
adfc3dd43f
Merge pull request #1270 from tlbdk/ssh2-support
...
Inherit extended agent so we get modern sign hashes
2019-11-22 12:54:07 -08:00
Akihiro Suda
7a601252fe
Merge pull request #1263 from ChaosGramer/master
...
Add readiness and liveness probe to the kubernetes examples
2019-11-22 09:41:22 -08:00
ChaosGramer
fe7a49fa09
add readiness and liveness probe as example
...
Signed-off-by: Jan Vaehsen (Windows) <janvaehsen@trieforce.de>
2019-11-22 18:20:28 +01:00
Troels Liebe Bentsen
9c70fb9927
Disallow Extensions for now
...
Signed-off-by: Troels Liebe Bentsen <tlb@nversion.dk>
2019-11-21 21:57:04 +01:00
Troels Liebe Bentsen
4e7904f37e
Inherit extended agent so we get modern sign hashes
...
Signed-off-by: Troels Liebe Bentsen <tlb@nversion.dk>
2019-11-20 00:15:51 +01:00
Edgar Lee
b622a87c5d
Change result type to array of refs
...
Signed-off-by: Edgar Lee <edgarl@netflix.com>
2019-11-19 14:00:32 -08:00
Tõnis Tiigi
5c9365b6f4
Merge pull request #1259 from AkihiroSuda/contributing-md-fix-link
...
CONTRIBUTING.md: fix broken link
2019-11-13 14:55:18 -08:00
Tibor Vass
c4f5086b6a
Merge pull request #1256 from tonistiigi/fix-parent-release
...
cache: fix possible concurrent maps write on parent release
2019-11-12 18:08:40 -08:00
Tonis Tiigi
1955890445
cache: fix possible concurrent maps write on parent release
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-11-12 13:41:50 -08:00
Akihiro Suda
f2c90ce0a0
CONTRIBUTING.md: fix broken link
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-11-13 04:39:27 +09:00
Tõnis Tiigi
2ceaa119e4
Merge pull request #1248 from tonistiigi/parent-diff
...
blobs: allow alternative compare-with-parent diff
2019-11-12 10:02:20 -08:00
Tõnis Tiigi
e486c1193f
Merge pull request #1247 from tonistiigi/dangling-naming
...
exporter: add canonical and dangling image naming
2019-11-12 10:02:04 -08:00
Tõnis Tiigi
5afa48a5a6
Merge pull request #1255 from AkihiroSuda/statefulset-parallel
...
examples/kubernetes: use Parallel mode for StatefulSet
2019-11-12 08:54:55 -08:00
Tõnis Tiigi
1642b9ce91
Merge pull request #1253 from pchico83/okteto
...
Used by Okteto Cloud
2019-11-12 08:53:31 -08:00
Akihiro Suda
14d5f06ed2
examples/kubernetes: use Parallel mode for StatefulSet
...
Parallel mode releaxes the pod creation order constraint.
https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#parallel-pod-management
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-11-12 19:24:52 +09:00
Pablo Chico de Guzman
7a9f5e7696
Used by Okteto Cloud
...
Signed-off-by: Pablo Chico de Guzman <pchico83@gmail.com>
2019-11-12 10:33:13 +01:00
Sam Whited
00bfbab039
all: bump the systemd dep to use Go Modules
...
Signed-off-by: Sam Whited <sam@samwhited.com>
2019-11-11 10:45:43 -05:00
Tõnis Tiigi
18f2c62285
Merge pull request #1244 from hinshun/doc-solver-types
...
Improve solver type godocs
2019-11-07 10:24:24 -08:00
Edgar Lee
e8326b213b
Fixup doc strings for solver types
...
Signed-off-by: Edgar Lee <edgarl@netflix.com>
2019-11-07 10:00:20 -08:00
Tibor Vass
e8c26ec2a1
Merge pull request #1246 from tonistiigi/restore-ref-labels
...
exporter: keep blob refs on images
2019-11-06 18:56:23 -08:00
Tonis Tiigi
6c70bacf8e
readme: document available options for image output
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-11-06 18:26:31 -08:00
Tonis Tiigi
565deba342
blobs: allow alternative compare-with-parent diff
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-11-06 17:34:42 -08:00
Tonis Tiigi
044271e0ad
exporter: add canonical and dangling image naming
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-11-06 17:32:24 -08:00
Tonis Tiigi
01cfdcd8f2
exporter: keeps blob refs on images
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-11-06 17:30:21 -08:00
Edgar Lee
7846d924ff
Improve solver type godocs
...
Signed-off-by: Edgar Lee <edgarl@netflix.com>
2019-11-06 14:45:26 -08:00
Tibor Vass
6bbf5e19c4
Merge pull request #1228 from tonistiigi/symlink-copy
...
dockerfile: fix copy symlinks on copied dir
2019-11-01 14:37:28 -07:00
Tõnis Tiigi
638df98898
Merge pull request #1238 from hinshun/docker-gen
...
Fix update generated files via docker buildkit
2019-11-01 11:13:41 -07:00
Edgar Lee
bb0ed03111
Fix update generated files via docker buildkit
...
Signed-off-by: Edgar Lee <edgarl@netflix.com>
2019-11-01 10:37:00 -07:00
Tõnis Tiigi
d8a369733f
Merge pull request #1239 from AkihiroSuda/doc-fix-local-cache
...
README.md: fix description about local cache
2019-11-01 09:56:23 -07:00
Akihiro Suda
6e090f5820
README.md: fix description about local cache
...
Fix #1234
This has been already implemented.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-11-01 15:09:00 +09:00
Akihiro Suda
e759bd1294
Merge pull request #1231 from tonistiigi/userns-secret-mount
...
exec: fix mount options on userns remapping
2019-11-01 12:33:12 +09:00
Tõnis Tiigi
fdd2f9b660
Merge pull request #1233 from hinshun/rm-wildcard
...
Implement file action remove for wildcards
2019-10-30 14:44:40 -07:00
Edgar Lee
c122adacb5
Implement file action remove for wildcards
...
Signed-off-by: Edgar Lee <edgarl@netflix.com>
2019-10-30 14:25:00 -07:00
Tonis Tiigi
307bdc3c3d
exec: fix mount options on userns remapping
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-29 14:20:40 -07:00
Tõnis Tiigi
50a406ae09
Merge pull request #1229 from AkihiroSuda/doc-cgroup2
...
docs for Fedora 31 users
2019-10-29 10:04:30 -07:00
Akihiro Suda
04ba0e64a2
docs for Fedora 31 users
...
BuildKit with crun works fine on cgroup2 system.
Tested both Rootful and Rootless on Fedora 31, with crun v0.10.2.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-29 15:02:38 +09:00
Tonis Tiigi
9654e5eeda
dockerfile: fix copy symlinks on copied dir
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-28 22:10:05 -07:00
Tõnis Tiigi
4f4e030675
Merge pull request #1221 from tonistiigi/leases-follow-up
...
cache: follow-up updates to storage leases
2019-10-21 18:14:28 -07:00
Tonis Tiigi
1d867ebdb1
cache: follow-up updates to storage leases
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-21 17:19:44 -07:00