Skip to content

Commit cf45da5

Browse files
committed
1 parent 5eefbd3 commit cf45da5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

27-rc/dind/Dockerfile

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

27/dind/Dockerfile

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile-dind.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUN set -eux; \
2525
apk add --no-cache iptables-legacy; \
2626
# set up a symlink farm we can use PATH to switch to legacy with
2727
mkdir -p /usr/local/sbin/.iptables-legacy; \
28-
# https://git.alpinelinux.org/aports/tree/main/iptables/APKBUILD?id=b215d54de159eacafecb13c68dfadce6eefd9ec9#n73
28+
# https://gitlab.alpinelinux.org/alpine/aports/-/blob/a7e1610a67a46fc52668528efe01cee621c2ba6c/main/iptables/APKBUILD#L77
2929
for f in \
3030
iptables \
3131
iptables-save \
@@ -35,8 +35,8 @@ RUN set -eux; \
3535
ip6tables-restore \
3636
; do \
3737
# "iptables-save" -> "iptables-legacy-save", "ip6tables" -> "ip6tables-legacy", etc.
38-
# https://pkgs.alpinelinux.org/contents?branch=v3.19&name=iptables-legacy&arch=x86_64
39-
b="/sbin/${f/tables/tables-legacy}"; \
38+
# https://pkgs.alpinelinux.org/contents?branch=v3.21&name=iptables-legacy&arch=x86_64
39+
b="$(command -v "${f/tables/tables-legacy}")"; \
4040
"$b" --version; \
4141
ln -svT "$b" "/usr/local/sbin/.iptables-legacy/$f"; \
4242
done; \

0 commit comments

Comments
 (0)