mirror of
https://github.com/tuna/tunasync.git
synced 2025-06-15 05:52:43 +00:00
docker script: added ubuntu-precise and gpg
This commit is contained in:
parent
f814117deb
commit
3ddbbfda94
@ -6,7 +6,7 @@ set -o pipefail
|
|||||||
|
|
||||||
_here=`dirname $(realpath $0)`
|
_here=`dirname $(realpath $0)`
|
||||||
. ${_here}/helpers/apt-download
|
. ${_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}"
|
BASE_PATH="${TUNASYNC_WORKING_DIR}"
|
||||||
APT_PATH="${BASE_PATH}/apt/repo"
|
APT_PATH="${BASE_PATH}/apt/repo"
|
||||||
@ -14,6 +14,9 @@ YUM_PATH="${BASE_PATH}/yum/repo"
|
|||||||
|
|
||||||
mkdir -p ${APT_PATH} ${YUM_PATH}
|
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
|
# YUM mirror
|
||||||
cache_dir="/tmp/yum-docker-cache/"
|
cache_dir="/tmp/yum-docker-cache/"
|
||||||
cfg="/tmp/docker-yum.conf"
|
cfg="/tmp/docker-yum.conf"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user