mirror of
https://github.com/containers/podman.git
synced 2025-06-25 03:52:15 +08:00
spec: move cgo stuff to their own file
so it can build without cgo since seccomp requires it. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
11
pkg/spec/config_linux_nocgo.go
Normal file
11
pkg/spec/config_linux_nocgo.go
Normal file
@ -0,0 +1,11 @@
|
||||
// +build linux,!cgo
|
||||
|
||||
package createconfig
|
||||
|
||||
import (
|
||||
spec "github.com/opencontainers/runtime-spec/specs-go"
|
||||
)
|
||||
|
||||
func getSeccompConfig(config *CreateConfig, configSpec *spec.Spec) (*spec.LinuxSeccomp, error) {
|
||||
return nil, nil
|
||||
}
|
Reference in New Issue
Block a user