summaryrefslogtreecommitdiff
path: root/pkg/spec/config_linux_cgo.go
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2019-10-30 11:41:00 +0100
committerValentin Rothberg <rothberg@redhat.com>2019-10-30 11:43:29 +0100
commitfb5367f29510d2f82ffb834dcf5a422495d5b99b (patch)
tree11a5315a061dea56005561c563f105565853bc51 /pkg/spec/config_linux_cgo.go
parente7540d0406c49b22de245246d16ebc6e1778df37 (diff)
downloadpodman-fb5367f29510d2f82ffb834dcf5a422495d5b99b.tar.gz
podman-fb5367f29510d2f82ffb834dcf5a422495d5b99b.tar.bz2
podman-fb5367f29510d2f82ffb834dcf5a422495d5b99b.zip
seccomp: use github.com/seccomp/containers-golang
Use the github.com/seccomp/containers-golang library instead of the docker package. The docker package has changed and silently broke on F31. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/spec/config_linux_cgo.go')
-rw-r--r--pkg/spec/config_linux_cgo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/spec/config_linux_cgo.go b/pkg/spec/config_linux_cgo.go
index e6e92a7cc..a1527752a 100644
--- a/pkg/spec/config_linux_cgo.go
+++ b/pkg/spec/config_linux_cgo.go
@@ -5,9 +5,9 @@ package createconfig
import (
"io/ioutil"
- "github.com/docker/docker/profiles/seccomp"
spec "github.com/opencontainers/runtime-spec/specs-go"
"github.com/pkg/errors"
+ seccomp "github.com/seccomp/containers-golang"
)
func getSeccompConfig(config *CreateConfig, configSpec *spec.Spec) (*spec.LinuxSeccomp, error) {