File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,12 @@ PROTO_BUILDER_NAME?=proto-builder
48
48
# Set this to pass additional commandline flags to the go compiler, e.g. "make test EXTRAGOARGS=-v"
49
49
export EXTRAGOARGS? =
50
50
51
- all : $(SUBDIRS ) $(GOMOD ) $(GOSUM )
51
+ all : $(SUBDIRS ) $(GOMOD ) $(GOSUM ) cni-bins test-cni-bins
52
52
53
53
$(SUBDIRS ) :
54
54
$(MAKE ) -C $@ EXTRAGOARGS=$(EXTRAGOARGS )
55
55
56
- all -in-docker :
56
+ % -in-docker :
57
57
docker run --rm -it \
58
58
--user $(UID ) :$(GID ) \
59
59
--volume $(CURDIR ) :/src \
@@ -64,7 +64,7 @@ all-in-docker:
64
64
--env STATIC_AGENT=on \
65
65
--workdir /src \
66
66
$(FIRECRACKER_CONTAINERD_BUILDER_IMAGE ) \
67
- $(MAKE ) all cni-bins test-cni-bins
67
+ $(MAKE ) $( subst -in-docker,, $@ )
68
68
69
69
proto :
70
70
DOCKER_BUILDKIT=1 docker build \
@@ -107,7 +107,7 @@ deps:
107
107
install :
108
108
for d in $( SUBDIRS) ; do $( MAKE) -C $$ d install; done
109
109
110
- image : $(RUNC_BIN ) agent
110
+ image : $(RUNC_BIN ) agent-in-docker
111
111
mkdir -p tools/image-builder/files_ephemeral/usr/local/bin
112
112
mkdir -p tools/image-builder/files_ephemeral/var/firecracker-containerd-test/scripts
113
113
for f in tools/docker/scripts/* ; do test -f $$ f && install -m 755 $$ f tools/image-builder/files_ephemeral/var/firecracker-containerd-test/scripts; done
You can’t perform that action at this time.
0 commit comments