diff options
author | Stefan K. Berg <stefan.k.berg@ericsson.com> | 2015-12-18 16:11:36 +0100 |
---|---|---|
committer | Stefan K. Berg <stefan.k.berg@ericsson.com> | 2015-12-18 16:11:36 +0100 |
commit | 89d6c9355ef28dcf3d49c781ab47b802254ec858 (patch) | |
tree | 7cc5603dbfe6e9a3b475475716adbf0af514ae49 | |
parent | 429392e6041fd5777c9a5a437f6455bca0fe3ed8 (diff) |
Uplift of Docker versions
The Docker version 1.5.0 is no longer allowed to acces the
Docker remote image repository!
Switching to version 1.7.1 instead.
Change-Id: Id71cab4b26a02e98a3bb51f31caa394bcf25b7d9
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
-rw-r--r-- | build/Makefile | 4 | ||||
-rwxr-xr-x | build/f_isoroot/f_qemupluginbuild/install_docker.sh | 2 | ||||
-rw-r--r-- | build/fuel-main_docker_version.patch | 19 |
3 files changed, 24 insertions, 1 deletions
diff --git a/build/Makefile b/build/Makefile index 85da6eb29..542269617 100644 --- a/build/Makefile +++ b/build/Makefile @@ -91,6 +91,10 @@ $(ISOCACHE): # Fuel build. sudo rm -f /etc/apt/apt.conf.d/docker* # + # Need to replace the old Docker v. 1.5.0 with a later version to be + # able to access the Docker remote repository! + cd /tmp/fuel-main && patch -p0 < $(TOPDIR)/fuel-main_docker_version.patch + # cd /tmp/fuel-main && ./prepare-build-env.sh cd /tmp/fuel-main && make repos $(REPOINFO) -r /tmp/fuel-main > gitinfo_fuel.txt diff --git a/build/f_isoroot/f_qemupluginbuild/install_docker.sh b/build/f_isoroot/f_qemupluginbuild/install_docker.sh index 02acce2e0..eeb80e36a 100755 --- a/build/f_isoroot/f_qemupluginbuild/install_docker.sh +++ b/build/f_isoroot/f_qemupluginbuild/install_docker.sh @@ -23,5 +23,5 @@ else sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 # Install docker sudo apt-get update - sudo apt-get -y install lxc-docker-1.5.0 + sudo apt-get -y install lxc-docker-1.7.1 fi diff --git a/build/fuel-main_docker_version.patch b/build/fuel-main_docker_version.patch new file mode 100644 index 000000000..2976675bd --- /dev/null +++ b/build/fuel-main_docker_version.patch @@ -0,0 +1,19 @@ +*** prepare-build-env.sh.orig Fri Dec 18 15:04:43 2015 +--- prepare-build-env.sh Fri Dec 18 15:05:01 2015 +*************** +*** 104,110 **** + # Install docker + sudo apt-get update + sudo sh -c 'echo DOCKER_OPTS=\"--dns 8.8.8.8 --dns 8.8.4.4 --bip 172.45.0.1/24\" > /etc/default/docker' +! sudo apt-get -y -o Dpkg::Options::="--force-confold" install lxc-docker-1.5.0 + fi + + # Install software +--- 104,110 ---- + # Install docker + sudo apt-get update + sudo sh -c 'echo DOCKER_OPTS=\"--dns 8.8.8.8 --dns 8.8.4.4 --bip 172.45.0.1/24\" > /etc/default/docker' +! sudo apt-get -y -o Dpkg::Options::="--force-confold" install lxc-docker-1.7.1 + fi + + # Install software |