Last active
November 8, 2023 06:27
-
-
Save alexisrolland/ea709ce92d695aa712d04d39b383e9ec to your computer and use it in GitHub Desktop.
Commands used to update the file /etc/apk/repositories which contains the list of mirrors to download packages with apk command. Commands below were tested in a Docker container built with alpine image.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/' /etc/apk/repositories | |
apk update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Afghano02