Use host APT mirror in Docker builds
Extract the APT mirror URL from the host's /etc/apt/sources.list (e.g. Hetzner mirror) and pass it as a build arg to the Dockerfile. Speeds up apt-get on cache miss when building on Hetzner runners.
Showing
Please
register
or
sign in
to comment