Dockerfile: use GO_VERSION build-arg for overriding Go version#39548
Dockerfile: use GO_VERSION build-arg for overriding Go version#39548thaJeztah merged 2 commits intomoby:masterfrom
Conversation
|
experimental failures are unrelated; https://jenkins.dockerproject.org/job/Docker-PRs-experimental/46008/console |
|
Janky failure is a flaky docker-py test |
kolyshkin
left a comment
There was a problem hiding this comment.
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 |
|
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. |
|
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: