Skip to content

Instantly share code, notes, and snippets.

@alexisrolland
Last active November 8, 2023 06:27
Show Gist options
  • Save alexisrolland/ea709ce92d695aa712d04d39b383e9ec to your computer and use it in GitHub Desktop.
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.
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/' /etc/apk/repositories
apk update
@Afghano02
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment