diff options
author | Tomáš Levora <t.levora@partner.samsung.com> | 2019-02-14 11:04:53 +0100 |
---|---|---|
committer | Tomáš Levora <t.levora@partner.samsung.com> | 2019-02-14 16:12:39 +0100 |
commit | cb349a5c0bd120e1e34e29b42d27504b3bc6acf7 (patch) | |
tree | e4825027833d2a9c6650164bb45122e125f61c99 /build/creating_data | |
parent | c8268a07122c7178095ee5005f3ac6f093c51777 (diff) |
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>
Diffstat (limited to 'build/creating_data')
-rwxr-xr-x | build/creating_data/create-rhel-repo.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/creating_data/create-rhel-repo.sh b/build/creating_data/create-rhel-repo.sh index 9859dc93..0a2a897e 100755 --- a/build/creating_data/create-rhel-repo.sh +++ b/build/creating_data/create-rhel-repo.sh @@ -38,6 +38,10 @@ fi # 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 |