My devcontainer features using the feature-starter template.
Automatically setup package manager mirrors, including ubuntu, pypi and apk etc.
{
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/sidecus/devcontainer-features/magicmirror:1": {
"ubuntu_mirror": "<your-ubuntu-mirror-domain>", // only applicable to Ubuntu based images
"apk_mirror": "<your-alpine-apk-mirror-domain>", // only applicable to Alpine based images
"pypi_mirror": "https://<your-pypi-mirror-domain>/pypi/web/simple/",
"huggingface_mirror": "https://dummy-hf-mirror.com"
}
}
}