Add download of missing dependency python-docker
Fixing a bug with missing python-docker package in local RHEL repository
for offline-installer
Issue-ID: OOM-1657
Change-Id: I42152f8acf81afcd825bd79378c5a8a8a803d047
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
diff --git a/build/creating_data/create-rhel-repo.sh b/build/creating_data/create-rhel-repo.sh
index 9859dc9..0a2a897 100755
--- a/build/creating_data/create-rhel-repo.sh
+++ b/build/creating_data/create-rhel-repo.sh
@@ -38,6 +38,10 @@
# it should be available in centos docker repo
yumdownloader --resolve --destdir="${OUTDIR}" docker-ce-17.03.2.ce libtool-ltdl docker-ce-selinux nfs-utils
+wget https://cbs.centos.org/kojifiles/packages/python-docker/2.5.1/2.el7/noarch/python2-docker-2.5.1-2.el7.noarch.rpm -P "${OUTDIR}"
+
+yum install --downloadonly --downloaddir="${OUTDIR}" "${OUTDIR}/python2-docker-2.5.1-2.el7.noarch.rpm"
+
createrepo "${OUTDIR}"
exit 0