Dockerfile: pull test image at build time
@@ -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
