Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
ci: Add bin-image workflow #4752
ci: Add bin-image workflow #4752
Changes from all commits
6ad07f2
ecf338f
15d4c99
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Needs to skip login on PR:
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 it will be removed once the PR is undrafted, this is all a part of a separate debug commit that just enables the worflow to run for this PR: 23c5809
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.
Curious why this
COPY
had to be changed; did we add more things in/out
? Where possible, I like “copy all the things” so that the part copying things doesn’t need to know what to look for(basically "
/out
" being the "contract" / API (for better words)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.
scripts/build/binary
produces two files, first isdocker-<platform>-<arch>
which is an actual binary, and the second is adocker
which is a symlink to the former.So without this change the image content would be:
The
COPY
copies the /docker which dereferences into the actual binary and puts that directly as/docker
in the final image. So the image only contains thedocker
binary directly.It's not strictly needed, because it should work with
COPY --from=dockereng/cli /docker /docker
anyway, but I'm not sure if we really need that symlink in the final image.Alternatively I could look into changing the
scripts/build/binary
so that it doesn't output the symlink, but that would probably require changing other things.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.
Ah, yes, forgot about the symlink; yeah. not a blocker, just something "nice if we can improve"
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.
LOL, and of course I didn't think of docker-ce-packaging using this output, and now failng;