Skip to content
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

Add git to dind variants (and make git an alias of dind, for 24.x and 25.x) #483

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

tianon
Copy link
Member

@tianon tianon commented Feb 23, 2024

See #482 (comment)
Closes #482

(with apologies to @thaJeztah ❤️)

This also does some minor cleanup of our installation of other dependencies.

…24.x and 25.x)

This also does some minor cleanup of our installation of other dependencies.
@tianon
Copy link
Member Author

tianon commented Feb 23, 2024

Useful Diffs (before I actually committed, so commit IDs are more stable and the diff is smaller):
$ diff -u <(bashbrew list docker | cut -d: -f2 | sort) <(bashbrew list <(./generate-stackbrew-library.sh) | cut -d: -f2 | sort
$ 
$ diff -u <(bashbrew cat docker) <(bashbrew cat <(./generate-stackbrew-library.sh))
--- /dev/fd/63	2024-02-23 11:49:27.223984671 -0800
+++ /dev/fd/62	2024-02-23 11:49:27.223984671 -0800
@@ -7,7 +7,7 @@
 GitCommit: c0a2a6d85dab907b5a9349f7a25eb7eadbbfa4ea
 Directory: 25/cli
 
-Tags: 25.0.3-dind, 25.0-dind, 25-dind, dind, 25.0.3-dind-alpine3.19, 25.0.3, 25.0, 25, latest, 25.0.3-alpine3.19
+Tags: 25.0.3-dind, 25.0-dind, 25-dind, dind, 25.0.3-dind-alpine3.19, 25.0.3-git, 25.0-git, 25-git, git, 25.0.3, 25.0, 25, latest, 25.0.3-alpine3.19
 Architectures: amd64, arm32v6, arm32v7, arm64v8
 GitCommit: de55ce1ae86abd97836f99759ae8badc30d0e0e6
 Directory: 25/dind
@@ -17,11 +17,6 @@
 GitCommit: de55ce1ae86abd97836f99759ae8badc30d0e0e6
 Directory: 25/dind-rootless
 
-Tags: 25.0.3-git, 25.0-git, 25-git, git
-Architectures: amd64, arm32v6, arm32v7, arm64v8
-GitCommit: d3e33ac3bc1eab5d436b7ab2981ba539ebbb7275
-Directory: 25/git
-
 Tags: 25.0.3-windowsservercore-ltsc2022, 25.0-windowsservercore-ltsc2022, 25-windowsservercore-ltsc2022, windowsservercore-ltsc2022
 SharedTags: 25.0.3-windowsservercore, 25.0-windowsservercore, 25-windowsservercore, windowsservercore
 Architectures: windows-amd64
@@ -43,7 +38,7 @@
 GitCommit: 490fbdcc7ca1b6a303e7c888714a1c51610d1a2f
 Directory: 24/cli
 
-Tags: 24.0.9-dind, 24.0-dind, 24-dind, 24.0.9-dind-alpine3.19, 24.0.9, 24.0, 24, 24.0.9-alpine3.19
+Tags: 24.0.9-dind, 24.0-dind, 24-dind, 24.0.9-dind-alpine3.19, 24.0.9-git, 24.0-git, 24-git, 24.0.9, 24.0, 24, 24.0.9-alpine3.19
 Architectures: amd64, arm32v6, arm32v7, arm64v8
 GitCommit: faa16b36dd3257f8b020489d44fd7a339f11701d
 Directory: 24/dind
@@ -53,11 +48,6 @@
 GitCommit: faa16b36dd3257f8b020489d44fd7a339f11701d
 Directory: 24/dind-rootless
 
-Tags: 24.0.9-git, 24.0-git, 24-git
-Architectures: amd64, arm32v6, arm32v7, arm64v8
-GitCommit: 6964fd52030c2e6e9e0943eaac07d78c9841fbb3
-Directory: 24/git
-
 Tags: 24.0.9-windowsservercore-ltsc2022, 24.0-windowsservercore-ltsc2022, 24-windowsservercore-ltsc2022
 SharedTags: 24.0.9-windowsservercore, 24.0-windowsservercore, 24-windowsservercore
 Architectures: windows-amd64

fi

# TODO aufs-tools
zfs \
Copy link
Contributor

Choose a reason for hiding this comment

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

Actually never really realised we're including zfs and btrfs in these images. With our "best effort" move towards overlayfs on all underlying filesystems, I'm also wondering how common it is to run DIND with zfs or btrfs.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, as I changed this I was thinking about how zfs is probably going away entirely. 😂

I think things break if we don't have these and users are using them though, so 🤷

Both of these together are still smaller than Git 😂

Copy link
Contributor

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

"LGTM", thanks!

Copy link

@whalelines whalelines left a comment

Choose a reason for hiding this comment

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

LGTM

@yosifkit yosifkit merged commit 843eb46 into docker-library:master Feb 26, 2024
8 checks passed
@yosifkit yosifkit deleted the dind-git branch February 26, 2024 21:26
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Feb 27, 2024
Changes:

- docker-library/docker@843eb46: Merge pull request docker-library/docker#483 from infosiftr/dind-git
- docker-library/docker@485fefe: Add `git` to `dind` variants (and make `git` an alias of `dind`, for 24.x and 25.x)
@tianon tianon mentioned this pull request Mar 22, 2024
martin-g pushed a commit to martin-g/docker-official-images that referenced this pull request Apr 3, 2024
Changes:

- docker-library/docker@843eb46: Merge pull request docker-library/docker#483 from infosiftr/dind-git
- docker-library/docker@485fefe: Add `git` to `dind` variants (and make `git` an alias of `dind`, for 24.x and 25.x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants