remove need for any caps
Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
parent
2b527491fe
commit
736052e309
4 changed files with 5 additions and 11 deletions
1
Makefile
1
Makefile
|
@ -40,7 +40,6 @@ static: $(BINDIR) rootfs.go
|
|||
@echo "+ $@"
|
||||
CGO_ENABLED=1 go build -tags "$(BUILDTAGS) cgo static_build" \
|
||||
-ldflags "-w -extldflags -static ${LDFLAGS}" -o bin/$(notdir $(IMAGE)) .
|
||||
@sudo setcap cap_chown,cap_fowner,cap_dac_override+ep ./bin/$(notdir $(IMAGE))
|
||||
@echo "Static container created at: ./bin/$(notdir $(IMAGE))"
|
||||
@echo "Run with ./bin/$(notdir $(IMAGE))"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue