mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-16 16:37:10 +08:00
vendor: update buildkit to v0.8
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
27
vendor/github.com/tonistiigi/fsutil/.travis.yml
generated
vendored
27
vendor/github.com/tonistiigi/fsutil/.travis.yml
generated
vendored
@ -1,27 +0,0 @@
|
||||
dist: bionic
|
||||
sudo: required
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
install:
|
||||
- curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-19.03.12.tgz | sudo tar xzv --strip-components=1 -C /usr/local/bin docker/docker
|
||||
- sudo mkdir -p /usr/local/lib/docker/cli-plugins
|
||||
- curl -fsSL https://github.com/docker/buildx/releases/download/v0.4.1/buildx-v0.4.1.linux-amd64 | sudo tee /usr/local/lib/docker/cli-plugins/docker-buildx > /dev/null
|
||||
- sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-buildx
|
||||
- docker buildx create --use
|
||||
- docker buildx inspect --bootstrap
|
||||
- docker buildx install
|
||||
|
||||
env:
|
||||
- GO_VERSION=1.13
|
||||
- GO_VERSION=1.14
|
||||
|
||||
script:
|
||||
- docker build --progress=plain --build-arg=GO_VERSION .
|
||||
- docker build --progress=plain --build-arg=GO_VERSION --target=test .
|
||||
- docker build --progress=plain --build-arg=GO_VERSION --target=test-noroot .
|
||||
- ./hack/validate-gomod
|
||||
- ./hack/lint
|
||||
- ./hack/validate-shfmt
|
||||
- docker build --progress=plain --build-arg=GO_VERSION --platform=linux/arm64,darwin/amd64,windows/amd64,linux/arm,linux/arm64 .
|
58
vendor/github.com/tonistiigi/fsutil/docker-bake.hcl
generated
vendored
Normal file
58
vendor/github.com/tonistiigi/fsutil/docker-bake.hcl
generated
vendored
Normal file
@ -0,0 +1,58 @@
|
||||
variable "GO_VERSION" {
|
||||
default = "1.13"
|
||||
}
|
||||
|
||||
group "default" {
|
||||
targets = ["build"]
|
||||
}
|
||||
|
||||
target "build" {
|
||||
args = {
|
||||
GO_VERSION = "${GO_VERSION}"
|
||||
}
|
||||
}
|
||||
|
||||
group "test" {
|
||||
targets = ["test-root", "test-noroot"]
|
||||
}
|
||||
|
||||
target "test-root" {
|
||||
inherits = ["build"]
|
||||
target = "test"
|
||||
}
|
||||
|
||||
target "test-noroot" {
|
||||
inherits = ["build"]
|
||||
target = "test-noroot"
|
||||
}
|
||||
|
||||
target "lint" {
|
||||
dockerfile = "./hack/dockerfiles/lint.Dockerfile"
|
||||
}
|
||||
|
||||
target "validate-gomod" {
|
||||
dockerfile = "./hack/dockerfiles/gomod.Dockerfile"
|
||||
target = "validate"
|
||||
}
|
||||
|
||||
target "gomod" {
|
||||
inherits = ["validate-gomod"]
|
||||
output = ["."]
|
||||
target = "update"
|
||||
}
|
||||
|
||||
target "validate-shfmt" {
|
||||
dockerfile = "./hack/dockerfiles/shfmt.Dockerfile"
|
||||
target = "validate"
|
||||
}
|
||||
|
||||
target "shfmt" {
|
||||
inherits = ["validate-shfmt"]
|
||||
output = ["."]
|
||||
target = "update"
|
||||
}
|
||||
|
||||
target "cross" {
|
||||
inherits = ["build"]
|
||||
platforms = ["linux/amd64", "linux/arm64", "linux/arm", "linux/ppc64le", "linux/s390x"]
|
||||
}
|
4
vendor/github.com/tonistiigi/fsutil/go.mod
generated
vendored
4
vendor/github.com/tonistiigi/fsutil/go.mod
generated
vendored
@ -9,12 +9,12 @@ require (
|
||||
github.com/gogo/protobuf v1.3.1
|
||||
github.com/moby/sys/mount v0.1.0 // indirect
|
||||
github.com/moby/sys/mountinfo v0.1.3 // indirect
|
||||
github.com/opencontainers/go-digest v1.0.0-rc1
|
||||
github.com/opencontainers/go-digest v1.0.0
|
||||
github.com/opencontainers/image-spec v1.0.1 // indirect
|
||||
github.com/opencontainers/runc v1.0.0-rc10 // indirect
|
||||
github.com/pkg/errors v0.9.1
|
||||
github.com/stretchr/testify v1.5.1
|
||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58
|
||||
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae
|
||||
golang.org/x/sys v0.0.0-20200917073148-efd3b9a0ff20
|
||||
gotest.tools/v3 v3.0.2 // indirect
|
||||
)
|
||||
|
6
vendor/github.com/tonistiigi/fsutil/go.sum
generated
vendored
6
vendor/github.com/tonistiigi/fsutil/go.sum
generated
vendored
@ -53,8 +53,8 @@ github.com/moby/sys/mountinfo v0.1.0/go.mod h1:w2t2Avltqx8vE7gX5l+QiBKxODu2TX0+S
|
||||
github.com/moby/sys/mountinfo v0.1.3 h1:KIrhRO14+AkwKvG/g2yIpNMOUVZ02xNhOw8KY1WsLOI=
|
||||
github.com/moby/sys/mountinfo v0.1.3/go.mod h1:w2t2Avltqx8vE7gX5l+QiBKxODu2TX0+Syr3h52Tw4o=
|
||||
github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
|
||||
github.com/opencontainers/go-digest v1.0.0-rc1 h1:WzifXhOVOEOuFYOJAW6aQqW0TooG2iki3E3Ii+WN7gQ=
|
||||
github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
|
||||
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
|
||||
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
|
||||
github.com/opencontainers/image-spec v1.0.1 h1:JMemWkRwHx4Zj+fVxWoMCFm/8sYGGrUVojFA6h/TRcI=
|
||||
github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
|
||||
github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U=
|
||||
@ -109,6 +109,8 @@ golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3 h1:7TYNF4UdlohbFwpNH04CoPMp1
|
||||
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae h1:/WDfKMnPU+m5M4xB+6x4kaepxRw6jWvR5iDRdvjHgy8=
|
||||
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20200917073148-efd3b9a0ff20 h1:4X356008q5SA3YXu8PiRap39KFmy4Lf6sGlceJKZQsU=
|
||||
golang.org/x/sys v0.0.0-20200917073148-efd3b9a0ff20/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
|
||||
|
Reference in New Issue
Block a user