fix travis seccomp version
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
c9717525e2
commit
3fc6abf56b
4 changed files with 16 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -46,7 +46,7 @@ $(BUILDDIR)/$(notdir $(IMAGE)): $(BUILDDIR) $(IMAGE_DATA_FILE) *.go VERSION.txt
|
|||
.PHONY: fmt
|
||||
fmt: ## Verifies all files have men `gofmt`ed
|
||||
@echo "+ $@"
|
||||
@gofmt -s -l . | grep -v '.pb.go:' | grep -v vendor | tee /dev/stderr
|
||||
@gofmt -s -l . | grep -v '.pb.go:' | grep -v vendor | grep -v bindata.go | tee /dev/stderr
|
||||
|
||||
.PHONY: lint
|
||||
lint: ## Verifies `golint` passes
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,5 @@
|
|||
// +build seccomp
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
10
seccomp_unsupported.go
Normal file
10
seccomp_unsupported.go
Normal file
|
@ -0,0 +1,10 @@
|
|||
// +build !seccomp
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
specs "github.com/opencontainers/runtime-spec/specs-go"
|
||||
)
|
||||
|
||||
// defaultProfile defines the whitelist for the default seccomp profile.
|
||||
var defaultSeccompProfile = &specs.LinuxSeccomp{}
|
Loading…
Reference in a new issue