diff options
author | crupest <crupest@outlook.com> | 2023-11-01 20:07:28 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-11-01 20:07:28 +0800 |
commit | 1c5f4ef46d6b765eddabe584fad949bdf784b3c0 (patch) | |
tree | 224861d7666e6016a3c7101c762b58f030942d5f /docker/debian-dev/bootstrap | |
parent | 42e3bafb8383e12eba9bdafb98a14e83dbfe86bb (diff) | |
download | crupest-1c5f4ef46d6b765eddabe584fad949bdf784b3c0.tar.gz crupest-1c5f4ef46d6b765eddabe584fad949bdf784b3c0.tar.bz2 crupest-1c5f4ef46d6b765eddabe584fad949bdf784b3c0.zip |
Bootstrap debian-dev docker.
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 |