mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-09 05:47:09 +00:00
14 lines
280 B
Makefile
14 lines
280 B
Makefile
all: vsudd
|
|
|
|
DEPS=Dockerfile $(wildcard *.go)
|
|
|
|
vsudd: $(DEPS) ../vendor/manifest
|
|
mkdir -p sbin
|
|
tar cf - $(DEPS) -C .. $(shell cd .. && find vendor) | docker build -t vsudd:build -
|
|
docker run --rm --net=none vsudd:build | tar xf - -C sbin
|
|
|
|
clean:
|
|
rm -rf sbin
|
|
|
|
.DELETE_ON_ERROR:
|