Makefile: do not rebuild tests every time "make" runs
bin2img/checkseccomp/copyimg are file targets and should not be .PHONY. This prevents to build them if not necessary. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
c66c633b77
commit
a30f84906c
2 changed files with 8 additions and 11 deletions
|
@ -78,6 +78,6 @@ WORKDIR /go/src/github.com/kubernetes-incubator/cri-o
|
|||
|
||||
ADD . /go/src/github.com/kubernetes-incubator/cri-o
|
||||
|
||||
RUN make copyimg \
|
||||
RUN make test/copyimg/copyimg \
|
||||
&& mkdir -p .artifacts/redis-image \
|
||||
&& ./test/copyimg/copyimg --import-from=docker://redis --export-to=dir:.artifacts/redis-image --signature-policy ./test/policy.json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue