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
Introduce dockercore/buildbase
x64 base image
#20665
Conversation
# IMPORTANT: If the version of Go is updated, the Windows to Linux CI machines | ||
# will need updating, to avoid errors. Ping #docker-maintainers on IRC | ||
# with a heads-up. | ||
ENV GO_VERSION 1.5.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.
just want to note that we have a CI job to test against different golang versions (https://jenkins.dockerproject.org/job/docker-golang-test-master/) which will need to be updated to comply with this change.
@icecrime: It would be a good idea to have the frozen images in that base image as close as possible to the top to avoid triggering that download as much as possible. Having to download that during a build while connected to a slow network isn't fun. |
0bb3c37
to
d533cbd
Compare
this needs a rebase, ouch 😔 |
@icecrime ^^ |
3ba4919
to
dc7e527
Compare
Rebased! 👍 |
Do automated builds support using |
@tianon Yes I checked beforehand :-) |
Oh, I had assumed that was just the context path; didn't realize they do
some sensing to determine that it should be the "-f" argument. 👍
|
@tianon Oops, actually you may be right, I just assumed from the UX... |
😢
|
Yeah it's just the context path 😿 Let me update that. |
c5660aa
to
691c85b
Compare
Moved it back, got confirmation for team in charge of automated builds:
So keeping it at the root will work 👍 |
Ah, neat; fair enough! 👍 LGTM |
LGTM |
) \ | ||
&& rm -rf "$SECCOMP_PATH" | ||
# See `Dockerfile.base` | ||
FROM dockercore/buildbase |
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.
do we need to track the version here?
Let me think about @tonistiigi comment above. |
Split the build Dockerfile in two, and extra the most stable pieces of the build environment into a `dockercore/buildbase` image. The goal is to minimize build times for the most traditional use cases, while minimizing the dependencies to external services in our build process. Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
691c85b
to
8b9d27e
Compare
Per @tonistiigi comment: added a |
Ping @tianon @tiborvass @tonistiigi and all other people with "ti" in their name: PTAL! |
Better :) re-LGTM |
Well, after discussing with @tonistiigi, I'm not sure we can merge this:
I don't see a solution. We would need to version the |
Can we pull by digest? |
@thaJeztah You don't know the digest until the automated build has run ;-) |
Closing this 😢 It's not going to make things better... |
Split the build Dockerfile in two, and extra the most stable pieces of the build environment into a
dockercore/buildbase
image.The goal is to minimize build times for the most traditional use cases, while minimizing the dependencies to external services in our build process.
Before:
After:
The right line between
Dockerfile
andDockerfile.base
is very much up for discussion. The rule of thumb for that initial proposal was to distinguish our content from third party content, under the assumption that we are more likely to update our own content throughout our pull requests.A few more details about that new
dockercore/buildbase
image:Dockerfile.base
.