Alex Couture-Beil
23af9dcb86
require a username for git over ssh
...
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2020-12-10 17:10:38 -08:00
Alex Couture-Beil
b64f992917
Allow any ssh-user while cloning from git
...
- this allows one to use a non-standard ssh username like repo@host
rather than assuming it must be git@host
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2020-12-10 17:10:38 -08:00
Tonis Tiigi
0e441bedca
llb: make sure fileop uses the platform for current state
...
If source root sets the platform for a state, vertexes should
keep that instead of using the global value passed on marshal.
Already worked properly for exec, but not for file.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-10 12:24:15 -08:00
ktock
ae1b79bbc6
Bump github.com/containerd/stargz-snapshotter to v0.2.0
...
This enables BuildKit to lazily pull eStargz with new footer format.
Signed-off-by: ktock <ktokunaga.mail@gmail.com>
2020-12-10 15:20:57 +09:00
Akihiro Suda
df9a515214
Merge pull request #1881 from tonistiigi/dockerfile-1.2
...
update Dockerfiles to 1.2
2020-12-10 15:08:03 +09:00
Tonis Tiigi
1b271e0014
solver: delay before discarding job
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-09 20:53:03 -08:00
Tonis Tiigi
a6baa678ea
fix building from git url without a protocol
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-09 18:40:34 -08:00
Tõnis Tiigi
8c7c5269df
Merge pull request #1884 from tonistiigi/dockerfile-docs-update
...
docs: update external dockerfile docs
2020-12-08 22:18:54 -08:00
Tonis Tiigi
9f6172c8bd
docs: update external dockerfile docs
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-08 21:26:18 -08:00
Tonis Tiigi
245e71fd8b
update Dockerfiles to 1.2
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-08 15:00:30 -08:00
Cory Bennett
9d3f55c400
move ExitError from solver/errdefs to frontend/gateway/errdefs
...
Signed-off-by: Cory Bennett <cbennett@netflix.com>
2020-12-07 01:09:59 +00:00
Tonis Tiigi
aabdec1778
handle foreign mediatypes on push
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-05 23:16:44 -08:00
Tõnis Tiigi
0af7b1b9c6
Merge pull request #1873 from crazy-max/fix-tagging
...
Fix image tagging
2020-12-05 00:37:53 -08:00
CrazyMax
8098b43022
Merge remote-tracking branch 'upstream/master' into fix-tagging
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-05 04:48:49 +01:00
CrazyMax
94899e5c91
Merge pull request #1878 from crazy-max/codecov-diff
...
Tweak codecov delta
2020-12-05 03:44:46 +01:00
CrazyMax
495e6b2962
Tweak codecov delta
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-05 02:46:59 +01:00
Tõnis Tiigi
e87988a78f
Merge pull request #1856 from crazy-max/remove-travis
...
Remove travis support
2020-12-04 16:10:19 -08:00
Tibor Vass
950603da21
Merge pull request #1874 from thaJeztah/revert_entrypoint_check
...
Revert "Ensure ENTRYPOINT command has at least one argument"
2020-12-03 11:28:23 -08:00
Sebastiaan van Stijn
4e9bae48e7
Revert "Ensure ENTRYPOINT command has at least one argument"
...
This reverts commit 174bcf85ef
.
This commit attempted to fix a situation where an empty entrypoint
was specified, causing a confusing error when running the image,
however, allowing the entrypoint to be reset should be a valid
use-case, and running such image on docker 20.10 at least
produces an informative error;
docker build -t foo -<<'EOF'
FROM busybox
ENTRYPOINT []
EOF
Or, to reset a previously set entrypoint:
docker build -t foo -<<'EOF'
FROM busybox AS one
ENTRYPOINT ["/bin/busybox"]
FROM one AS two
ENTRYPOINT []
EOF
If no command is specified for the image above:
docker run -it --rm foo
docker: Error response from daemon: No command specified.
See 'docker run --help'.
Passing a command to run:
docker run -it --rm foo sh
/#
Given that this commit resulted in a regression/breaking change
this reverts the commit.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-12-03 13:36:52 +01:00
CrazyMax
2fe7ea156b
Fix image tagging
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-03 09:06:04 +01:00
Tõnis Tiigi
15b978ca89
Merge pull request #1872 from tonistiigi/dockerfile-escape-fix
...
dockerfile: fix escaping in release script
2020-12-02 19:04:41 -08:00
Tonis Tiigi
2df822c610
dockerfile: fix escaping in release script
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-02 19:02:21 -08:00
Tõnis Tiigi
73fe473613
Merge pull request #1870 from tonistiigi/release-images-fix
...
hack: fix tagging ga releases
2020-12-02 17:36:53 -08:00
Tonis Tiigi
859a14da13
hack: fix tagging ga releases
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-02 17:34:30 -08:00
Tõnis Tiigi
d5f179bb79
Merge pull request #1863 from tonistiigi/solver-slowcache
...
solver: improve slow cache detection logging
2020-12-02 16:47:35 -08:00
Tonis Tiigi
706129170d
solver: remove scheduler fix
...
Asked in review.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-02 16:07:13 -08:00
Tõnis Tiigi
c7339917a4
Merge pull request #1869 from tonistiigi/ssh-mount
...
mounts: handle optional ssh mount
2020-12-02 15:40:34 -08:00
Tõnis Tiigi
c626534a73
Merge pull request #1868 from tonistiigi/binfmt-pin
...
dockerfile: pin binfmt image
2020-12-02 14:48:56 -08:00
Tonis Tiigi
f38972a8ec
mounts: handle optional ssh mount
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-02 14:28:51 -08:00
Tõnis Tiigi
abb3325adf
Merge pull request #1862 from chang-andrew/chang-andrew/main/bk-1119-empty-entrypoint
...
Ensure ENTRYPOINT command has at least one argument
2020-12-02 13:23:39 -08:00
Tonis Tiigi
e50e2c1dba
dockerfile: pin binfmt image
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-02 13:11:09 -08:00
Tonis Tiigi
6a321dc574
solver: improve slow cache detection and add logging
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-01 22:38:15 -08:00
Tibor Vass
91efff3cd0
Merge pull request #1860 from tonistiigi/pull-cancel-fix
...
fix invalid cancellation errors on pull
2020-12-01 14:48:21 -08:00
Andrew Chang
174bcf85ef
Ensure ENTRYPOINT command has at least one argument
...
Signed-off-by: Andrew Chang <chang331006@gmail.com>
2020-12-01 15:05:25 -06:00
Tõnis Tiigi
78847133cf
Merge pull request #1861 from AkihiroSuda/improve-rootless-doc-network
...
docs/rootless.md: add instruction for isolating netns
2020-12-01 08:54:29 -08:00
Akihiro Suda
b182bcb07e
docs/rootless.md: add instruction for isolating netns
...
Isolating network namespace with `rootlesskit --net=slirp4netns` is
recommended for protecting localhost sockets and abstract sockets on the host.
This is not meaningful for running rootless buildkitd inside a
container, so slirp4netns is not added in Dockerfile.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-01 17:47:41 +09:00
Tonis Tiigi
e46cfab9fb
fix invalid cancellation errors on pull
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-01 00:27:31 -08:00
Tõnis Tiigi
e531c59882
Merge pull request #1852 from AkihiroSuda/update-dockerfile-20201126
...
Update containerd, RootlessKit, CNI, and fuse-overlayfs
2020-11-30 09:35:45 -08:00
CrazyMax
9ed0d25af2
Merge branch 'master' into remove-travis
2020-11-30 10:17:25 +01:00
CrazyMax
1bf8ef962e
Merge pull request #1858 from crazy-max/master
...
Export to local dir for GHA
2020-11-30 09:11:34 +01:00
CrazyMax
6450c51c44
Export to local dir for GHA
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-30 08:24:09 +01:00
Tõnis Tiigi
bee08c6c63
Merge pull request #1855 from crazy-max/disable-frontend-daily
...
Disable frontend build on schedule event
2020-11-29 22:53:28 -08:00
Tõnis Tiigi
e30c51f18f
Merge pull request #1857 from crazy-max/fix-ci-cache
...
Fix CI cache
2020-11-29 22:52:14 -08:00
CrazyMax
1ac6bd4cbc
Fix CI cache
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-29 06:45:39 +01:00
CrazyMax
e551afb76a
Disable frontend build on schedule event
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-26 20:32:11 +01:00
CrazyMax
00570378a8
Remove travis support
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-26 19:02:04 +01:00
Akihiro Suda
a19843c552
Update containerd, RootlessKit, CNI, and fuse-overlayfs
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-11-26 17:14:03 +09:00
Tõnis Tiigi
600e2db7f7
Merge pull request #1851 from tonistiigi/skip-flaky-test
...
client: temporarily skip testClientSlowRootfsRef for containerd
2020-11-25 23:46:12 -08:00
Tõnis Tiigi
990fd95310
Merge pull request #1848 from crazy-max/fix-rootless-tag
...
Fix rootless tag
2020-11-25 23:41:42 -08:00
Tonis Tiigi
87508b4f0a
client: temporarily skip testClientSlowRootfsRef for containerd
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-11-25 23:36:55 -08:00