From 3ddbbfda94ee14e1c84ff0039b10a9289ede13cd Mon Sep 17 00:00:00 2001 From: bigeagle Date: Sat, 9 Apr 2016 17:37:52 +0800 Subject: [PATCH] docker script: added ubuntu-precise and gpg --- scripts/docker.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/docker.sh b/scripts/docker.sh index 7c64198..a800e1f 100755 --- a/scripts/docker.sh +++ b/scripts/docker.sh @@ -6,7 +6,7 @@ set -o pipefail _here=`dirname $(realpath $0)` . ${_here}/helpers/apt-download -APT_VERSIONS=("debian-wheezy" "debian-jessie" "ubuntu-trusty" "ubuntu-xenial") +APT_VERSIONS=("debian-wheezy" "debian-jessie" "ubuntu-precise" "ubuntu-trusty" "ubuntu-xenial") BASE_PATH="${TUNASYNC_WORKING_DIR}" APT_PATH="${BASE_PATH}/apt/repo" @@ -14,6 +14,9 @@ YUM_PATH="${BASE_PATH}/yum/repo" mkdir -p ${APT_PATH} ${YUM_PATH} +wget -q -N -O ${BASE_PATH}/yum/gpg https://yum.dockerproject.org/gpg +wget -q -N -O ${BASE_PATH}/apt/gpg https://apt.dockerproject.org/gpg + # YUM mirror cache_dir="/tmp/yum-docker-cache/" cfg="/tmp/docker-yum.conf"