diff options
Diffstat (limited to 'docker/debian-dev/bootstrap/replace-mirrors.bash')
-rwxr-xr-x | docker/debian-dev/bootstrap/replace-mirrors.bash | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docker/debian-dev/bootstrap/replace-mirrors.bash b/docker/debian-dev/bootstrap/replace-mirrors.bash new file mode 100755 index 0000000..4fc07d0 --- /dev/null +++ b/docker/debian-dev/bootstrap/replace-mirrors.bash @@ -0,0 +1,15 @@ +#! /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 + +cp /bootstrap/tuna-source-link.txt /etc/crupest-apt-source + |