Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile-dind.template
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,17 @@ RUN set -eux; \
--no-same-owner \
# we exclude the CLI binary because we already extracted that over in the "docker:{{ env.version }}-cli" image that we're FROM and we don't want to duplicate those bytes again in this layer
--exclude 'docker/docker' \
{{ if .version == "29.8.2" then "" else ( -}}
# exclude containerd, relying on the "embedded containerd" instead: https://github.com/moby/moby/pull/53388 (makes for a smaller image)
--exclude 'docker/containerd' \
{{ ) end -}}
; \
rm docker.tgz; \
\
dockerd --version; \
Comment on lines +68 to 74

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we do something like this, we can merge this as-is now with no changes, and it will only apply the change on the next release (even if it's an RC):

Suggested change
# exclude containerd, relying on the "embedded containerd" instead: https://github.com/moby/moby/pull/53388 (makes for a smaller image)
--exclude 'docker/containerd' \
; \
rm docker.tgz; \
\
dockerd --version; \
{{ if .version == "29.8.2" then "" else ( -}}
# exclude containerd, relying on the "embedded containerd" instead: https://github.com/moby/moby/pull/53388 (makes for a smaller image)
--exclude 'docker/containerd' \
{{ ) end -}}
; \
rm docker.tgz; \
\
dockerd --version; \
{{ if .version == "29.8.2" then ( -}}
containerd --version; \
{{ ) else "" end -}}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx! Applied your changes 👍

cc @vvoland FYI

{{ if .version == "29.8.2" then ( -}}
containerd --version; \
{{ ) else "" end -}}
ctr --version; \
runc --version

Expand Down
Loading