Dockerfile: pull test image at build time
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
f195d51615
commit
e5126a9176
1 changed files with 4 additions and 0 deletions
|
@ -70,3 +70,7 @@ COPY test/policy.json /etc/containers/policy.json
|
|||
WORKDIR /go/src/github.com/kubernetes-incubator/cri-o
|
||||
|
||||
ADD . /go/src/github.com/kubernetes-incubator/cri-o
|
||||
|
||||
RUN make 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…
Reference in a new issue