mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
use python:3-slim-buster
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
SOURCES_LIST='/etc/apt/sources.list'
|
||||
PREVIOUS_SOURCES=$(cat $SOURCES_LIST)
|
||||
|
||||
perl -pe '/(http|https):\/\/(.*?)(\/|$)/ && s/$2/mirror.math.princeton.edu\/pub\//g' <<< "$PREVIOUS_SOURCES" > "$SOURCES_LIST"
|
||||
|
||||
# deb http://snapshot.debian.org/archive/debian/20190910T000000Z buster main
|
||||
echo 'deb https://mirror.math.princeton.edu/pub/debian buster main' > ${SOURCES_LIST}
|
||||
# deb http://snapshot.debian.org/archive/debian-security/20190910T000000Z buster/updates main
|
||||
echo 'deb http://security.debian.org/debian-security buster/updates main' >> ${SOURCES_LIST}
|
||||
# deb http://snapshot.debian.org/archive/debian/20190910T000000Z buster-updates main
|
||||
echo 'deb http://deb.debian.org/debian buster-updates main' >> ${SOURCES_LIST}
|
||||
|
||||
Reference in New Issue
Block a user