-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Dockerfile: use GO_VERSION build-arg for overriding Go version #39548
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
Conversation
experimental failures are unrelated; https://jenkins.dockerproject.org/job/Docker-PRs-experimental/46008/console
|
Janky failure is a flaky docker-py test
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This is really nice to have; is there any place we can document it? Perhaps docs/contributing/set-up-dev-env.md
and/or TESTING.md
?
@cpuguy83 I think we can leave it as a go version for now and if we have the need to override the entire image, add another variable that defaults to |
Docker Hub made a whoopsie https://jenkins.dockerproject.org/job/Docker-PRs/54931/console
|
This comment has been minimized.
This comment has been minimized.
Added a doc commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs LGTM
Looks like the known flaky test in the experimental PR check failed:
Likely because this PR was based on codeline before #39531 was merged. |
This allows overriding the version of Go without making modifications in the source code, which can be useful to test against multiple versions. For example: make GO_VERSION=1.13beta1 shell Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
You're right. Rebased to master; let's see how it goes. |
Sorry, didn't mean to imply this needed to be rebased and tests re-run. I think it is good to go because the only failing test was a known flaky test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
all green now |
This allows overriding the version of Go without making modifications in the
source code, which can be useful to test against multiple versions.
For example: