fix chown and seccomp
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
60f032f6f5
commit
2569457739
8197 changed files with 30742 additions and 1596554 deletions
38
vendor/github.com/containerd/containerd/client_unix_test.go
generated
vendored
Normal file
38
vendor/github.com/containerd/containerd/client_unix_test.go
generated
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
// +build !windows
|
||||
|
||||
package containerd
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
)
|
||||
|
||||
const (
|
||||
defaultRoot = "/var/lib/containerd-test"
|
||||
defaultState = "/run/containerd-test"
|
||||
defaultAddress = "/run/containerd-test/containerd.sock"
|
||||
)
|
||||
|
||||
var (
|
||||
testImage string
|
||||
)
|
||||
|
||||
func platformTestSetup(client *Client) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
switch runtime.GOARCH {
|
||||
case "386":
|
||||
testImage = "docker.io/i386/alpine:latest"
|
||||
case "arm":
|
||||
testImage = "docker.io/arm32v6/alpine:latest"
|
||||
case "arm64":
|
||||
testImage = "docker.io/arm64v8/alpine:latest"
|
||||
case "ppc64le":
|
||||
testImage = "docker.io/ppc64le/alpine:latest"
|
||||
case "s390x":
|
||||
testImage = "docker.io/s390x/alpine:latest"
|
||||
default:
|
||||
testImage = "docker.io/library/alpine:latest"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue