mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-04 17:21:28 +00:00
This means that multiple builds will not conflict, so we can remove the lock from the CI. Also quieter when no errors. Some still left to do, only done the ones used in build and CI initially. Some of the others will be cleaned up anyway later. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
11 lines
270 B
Makefile
11 lines
270 B
Makefile
DEPS=Dockerfile $(wildcard *.c *.h)
|
|
|
|
usr/bin/nc-vsock: $(DEPS)
|
|
mkdir -p usr/bin
|
|
BUILD=$$( tar cf - $(DEPS) | docker build -q - ) && [ -n "$$BUILD" ] && \
|
|
docker run --rm --net=none $$BUILD | tar xf - -C usr/bin && \
|
|
docker rmi --no-prune $$BUILD
|
|
|
|
clean:
|
|
rm -rf usr
|