mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-29 23:26:23 +00:00
Move all output to the directories it will be in eventually
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
This commit is contained in:
committed by
Justin Cormack
parent
5ae109fc23
commit
276157a769
2
alpine/packages/nc-vsock/.gitignore
vendored
2
alpine/packages/nc-vsock/.gitignore
vendored
@@ -1 +1 @@
|
||||
nc-vsock
|
||||
usr/
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
DEPS=Dockerfile $(wildcard *.c *.h)
|
||||
|
||||
nc-vsock: $(DEPS)
|
||||
usr/bin/nc-vsock: $(DEPS)
|
||||
mkdir -p usr/bin
|
||||
tar cf - $(DEPS) | docker build -t nc-vsock:build -
|
||||
docker run --rm --net=none nc-vsock:build | tar xf -
|
||||
docker run --rm --net=none nc-vsock:build | tar xf - -C usr/bin
|
||||
|
||||
clean:
|
||||
rm -f nc-vsock
|
||||
rm -rf usr
|
||||
|
||||
Reference in New Issue
Block a user