Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying apt mirror in dockerfile #21590

Merged
merged 1 commit into from Mar 28, 2016
Merged

Conversation

tonistiigi
Copy link
Member

Fixes #21512

This is so that we can set another mirror for the CI.

Example: make shell DOCKER_BUILD_ARGS="--build-arg APT_MIRROR=cdn-fastly.deb.debian.org"

@icecrime @tianon

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@icecrime
Copy link
Contributor

Thanks! I forgot that the default httpredir mirror came from the base image so it feels a bit hackish, but at least it would allow us to increase CI reliability.

LGTM 👍

@calavera
Copy link
Contributor

LGTM

@tianon
Copy link
Member

tianon commented Mar 28, 2016

Yeah, a little hacky, but it'll work for now while we figure out the base image issue better. 😞

LGTM

@icecrime
Copy link
Contributor

Thanks! Merging this.

@icecrime icecrime merged commit 121b78c into moby:master Mar 28, 2016
@tianon
Copy link
Member

tianon commented Mar 28, 2016

FYI, tianon/docker-brew-debian#37 is the bug I've filed for discussing switching mirrors at the base layer.

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

Successfully merging this pull request may close these issues.

None yet

5 participants