-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Update golang 1.8.3 #173
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
Update golang 1.8.3 #173
Conversation
|
Same applies to OSX Docker cli |
Codecov Report
@@ Coverage Diff @@
## master #173 +/- ##
==========================================
- Coverage 45.33% 45.32% -0.01%
==========================================
Files 171 171
Lines 11480 11480
==========================================
- Hits 5204 5203 -1
- Misses 5979 5980 +1
Partials 297 297 |
|
LGTM |
| @@ -1,5 +1,5 @@ | |||
|
|
|||
| FROM golang:1.8.1 | |||
| FROM golang:1.8.3 | |||
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.
I see the Dockerfile.dev floats the golang version to latest patch of 1.8. I'd suggest floating the version in Dockerfile.cross as well so they match, .e.g. FROM golang:1.8
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.
I'm not sure; we've had cases where a patch release brought a specific fix, using a rolling update would make it undeterministic
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.
Then I'd suggest making sure all Dockerfiles are locked into a specific golang version. The 3 files in dockerfiles dir.
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.
Yes, that would be my personal preference
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.
updated the other two Dockerfiles as well to use golang 1.8.3
|
In regards to the comment on how to verify, since the |
Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
|
Thanks @andrewhsu for the explanation, now I can build another part of the new repos. |
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.
I just realized that circle CI has upgraded to Docker 17.05 so we can use ARG in FROM.
But no worries if you don't want to do that here. I can do it in a follow up PR.
Edit: actually, I'm not sure if it has. I misread the build output.
dnephin
left a comment
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
nevermind, it's still on 17.03.0-ce
|
LGTM |
|
With Circle 2.0 you could update Docker Engine to 17.05 for multi-stage builds. No longer a special handcrafted Circle Docker Engine. |
|
We're using Circle 2.0, and we use a docker:17.05 image, but that only give us the client. The "remote daemon" step spins up a 17.03 daemon. |
[17.07] backport Fixing issue with driver opt not passed to drivers
Signed-off-by: Stefan Scherer scherer_stefan@icloud.com
- What I did
I installed the static Windows binaries 17.06.0-ce-rc2 and found out that the docker cli is compiled with go1.8.1
So I think this Dockerfile to cross-compile the docker cli should be updated as well as the release notes show us an explicit update to Go 1.8.3 moby/moby#33387
- How I did it
Just updating the Dockerfile.cross
- How to verify it
Good question, a how-to guide for the community would help me verify the whole build. To build the Windows ZIP I use docker/docker-ce repo. So how to test my pull request in docker/cli repo to build the ZIP in docker/docker-ce repo? I don't have a best practise for that right now.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)