Skip to content

Commit e2afb50

Browse files
committed
[FAB-9462] Fix get-docker-images.sh pulling failed
Third party images' version are not the same with fabric images, this patch fix it. Change-Id: I9ec9f961ee1473ca689d610922baba6a7bdbbca3 Signed-off-by: gtt116 <gtt116@gmail.com>
1 parent 968d12b commit e2afb50

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

release/templates/get-docker-images.in

+7-4
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ VERSION=_VERSION_
1212
BASE_DOCKER_TAG=_BASE_DOCKER_TAG_
1313

1414
# set of Hyperledger Fabric images
15-
FABRIC_IMAGES=(fabric-peer fabric-orderer fabric-ccenv fabric-javaenv fabric-kafka fabric-zookeeper \
16-
fabric-couchdb fabric-tools)
15+
FABRIC_IMAGES=(fabric-peer fabric-orderer fabric-ccenv fabric-javaenv fabric-tools)
1716

1817
for image in ${FABRIC_IMAGES[@]}; do
1918
echo "Pulling ${DOCKER_NS}/$image:${ARCH}-${VERSION}"
2019
docker pull ${DOCKER_NS}/$image:${ARCH}-${VERSION}
2120
done
2221

23-
echo "Pulling ${DOCKER_NS}/fabric-baseos:${BASE_DOCKER_TAG}"
24-
docker pull ${DOCKER_NS}/fabric-baseos:${BASE_DOCKER_TAG}
22+
THIRDPARTY_IMAGES=(fabric-kafka fabric-zookeeper fabric-couchdb fabric-baseos)
23+
24+
for image in ${THIRDPARTY_IMAGES[@]}; do
25+
echo "Pulling ${DOCKER_NS}/$image:${BASE_DOCKER_TAG}"
26+
docker pull ${DOCKER_NS}/$image:${BASE_DOCKER_TAG}
27+
done

0 commit comments

Comments
 (0)