You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dockerfile.d/test-integration-rootless.sh
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,9 @@ if [[ "$(id -u)" = "0" ]]; then
21
21
nerdctl apparmor load
22
22
fi
23
23
24
-
:"${FORCE_TCP_DNS:=}"
25
-
if [[ "$FORCE_TCP_DNS"="1" ]];then
26
-
# Workaround for https://github.com/containerd/nerdctl/issues/622
27
-
# ERROR: failed to do request: Head "https://ghcr.io/v2/stargz-containers/alpine/manifests/3.13-org": dial tcp: lookup ghcr.io on 10.0.2.3:53: read udp 10.0.2.100:50602->10.0.2.3:53: i/o timeout
28
-
echo"options use-vc">>/etc/resolv.conf
24
+
:"${WORKAROUND_CIRRUS:=}"
25
+
if [[ "$WORKAROUND_CIRRUS"="1" ]];then
26
+
touch /workaround-cirrus
29
27
fi
30
28
31
29
# Switch to the rootless user via SSH
@@ -36,7 +34,12 @@ else
36
34
if grep -q "options use-vc" /etc/resolv.conf;then
37
35
containerd-rootless-setuptool.sh nsenter -- sh -euc 'echo "options use-vc" >>/etc/resolv.conf'
38
36
fi
39
-
containerd-rootless-setuptool.sh install-buildkit
37
+
38
+
if [[ -e /workaround-cirrus ]];then
39
+
echo"WORKAROUND_CIRRUS: Not enabling BuildKit (https://github.com/containerd/nerdctl/issues/622)">&2
0 commit comments