Update of docker for RHEL 61/87761/5
authorTomáš Levora <t.levora@partner.samsung.com>
Wed, 15 May 2019 11:38:00 +0000 (13:38 +0200)
committerTomáš Levora <t.levora@partner.samsung.com>
Fri, 17 May 2019 12:22:09 +0000 (12:22 +0000)
Updating docker to 18.09 and its dependencies accordingly

Issue-ID: OOM-1857

Change-Id: Ifa3ee7091e2ceeecf8c56d48c31a20a33d273f43
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
build/creating_data/create-rhel-repo.sh
docs/BuildGuide.rst

index ca5a535..43709a7 100755 (executable)
@@ -1,6 +1,6 @@
 #   COPYRIGHT NOTICE STARTS HERE
 #
-#   Copyright 2018 © Samsung Electronics Co., Ltd.
+#   Copyright 2018-2019 © Samsung Electronics Co., Ltd.
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -36,12 +36,10 @@ fi
 
 # this exact docker version is required by ONAP/beijing
 # 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 python-jsonpointer
-
-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"
+yumdownloader --resolve --destdir="${OUTDIR}" docker-ce-18.09.5 container-selinux docker-ce-cli \
+containerd.io nfs-utils python-jsonpointer python-docker-py python-docker-pycreds python-ipaddress \
+python-websocket-client
 
 createrepo "${OUTDIR}"
 
-exit 0
+exit 0
\ No newline at end of file
index c79c0b0..8ae08d8 100644 (file)
@@ -29,7 +29,7 @@ More-over following sw packages has to be installed:
 * for the Download artifacts for offline installer (Part 2) and the Populate local nexus (Part 3)
     -  nodejs
     -  jq
-    -  docker (exact version docker-ce-17.03.2)
+    -  docker (exact version docker-ce-18.09.5)
 
 * for the Download artifacts for offline installer (Part 2) and for the Application helm charts preparation and patching (Part 4)
     -  patch
@@ -75,7 +75,7 @@ Subsequent steps are the same on both platforms:
     pip install twine
 
     # install docker
-    curl https://releases.rancher.com/install-docker/17.03.sh | sh
+    curl https://releases.rancher.com/install-docker/18.09.sh | sh
 
 Then it is necessary to clone all installer and build related repositories and prepare the directory structure.