mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-11 20:41:10 +00:00
Not yet working, some parts also not yet cross compiled Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
11 lines
259 B
Makefile
11 lines
259 B
Makefile
all: 9pudc
|
|
|
|
9pudc: Dockerfile main.go
|
|
docker build --build-arg GOOS=$(OS) --build-arg GOARCH=$(ARCH) -t 9pudc:build .
|
|
docker run 9pudc:build cat /go/bin/9pudc > 9pudc
|
|
chmod 755 9pudc
|
|
|
|
clean:
|
|
rm -f 9pudc
|
|
docker images -q 9pudc:build | xargs docker rmi -f
|