diff options
Diffstat (limited to 'docker/debian-dev/bootstrap')
-rwxr-xr-x | docker/debian-dev/bootstrap/replace-mirrors.sh | 13 | ||||
-rw-r--r-- | docker/debian-dev/bootstrap/tuna-source-http.txt | 11 | ||||
-rw-r--r-- | docker/debian-dev/bootstrap/tuna-source-https.txt | 11 |
3 files changed, 35 insertions, 0 deletions
diff --git a/docker/debian-dev/bootstrap/replace-mirrors.sh b/docker/debian-dev/bootstrap/replace-mirrors.sh new file mode 100755 index 0000000..fb797b9 --- /dev/null +++ b/docker/debian-dev/bootstrap/replace-mirrors.sh @@ -0,0 +1,13 @@ +#! /usr/bin/env bash + +set -e + +cp /etc/apt/sources.list /etc/apt/sources.list.bak + +cp /bootstrap/tuna-source-http.txt /etc/apt/sources.list +apt-get update +apt-get install -y apt-transport-https ca-certificates + +cp /bootstrap/tuna-source-https.txt /etc/apt/sources.list +apt-get update + diff --git a/docker/debian-dev/bootstrap/tuna-source-http.txt b/docker/debian-dev/bootstrap/tuna-source-http.txt new file mode 100644 index 0000000..b1ce575 --- /dev/null +++ b/docker/debian-dev/bootstrap/tuna-source-http.txt @@ -0,0 +1,11 @@ +deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free +deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free + +deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free +deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free + +deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free +deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free + +deb http://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free +deb-src http://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free diff --git a/docker/debian-dev/bootstrap/tuna-source-https.txt b/docker/debian-dev/bootstrap/tuna-source-https.txt new file mode 100644 index 0000000..38d4f74 --- /dev/null +++ b/docker/debian-dev/bootstrap/tuna-source-https.txt @@ -0,0 +1,11 @@ +deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free +deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free + +deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free +deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free + +deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free +deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free + +deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free +deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free |