Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion pkg/docker-engine/rpm/docker-ce.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Requires: docker-ce-cli
Recommends: docker-ce-rootless-extras
Requires: container-selinux
Requires: systemd
Requires: iptables
Requires: (iptables-nft or iptables)
Requires: nftables
%if %{undefined rhel} || 0%{?rhel} < 9
# Libcgroup is no longer available in RHEL/CentOS >= 9 distros.
Expand Down
3 changes: 3 additions & 0 deletions pkg/docker/scripts/pkg-static-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ fetch_git_ref() {
git -C "$dest" remote add origin "$repo"
git -C "$dest" fetch --depth 1 origin "$ref"
git -C "$dest" checkout -q FETCH_HEAD
# Fetch the tag too, if ref is one, so "git describe" in version strings
# reports it instead of a bare commit.
git -C "$dest" fetch --depth 1 origin "+refs/tags/${ref}:refs/tags/${ref}" || true
}

(
Expand Down
Loading