[stable-2.15] Install crun from Alpine 3.19 for known musl compatibility (#82812). (#82815)

(cherry picked from commit 86f48a526a)
pull/82838/head
Matt Martz 2 years ago committed by GitHub
parent 1eb9b30dce
commit 5844f4305e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1058,8 +1058,8 @@ class ApkBootstrapper(Bootstrapper):
packages = ['docker', 'podman', 'openssl', 'crun', 'ip6tables']
run_command('apk', 'add', *packages)
# 3.17 only contains crun 1.7.2, to get at least 1.9.2 to resolve the run/shm issue, install crun from edge
run_command('apk', 'upgrade', '-U', '--repository=http://dl-cdn.alpinelinux.org/alpine/edge/community', 'crun')
# 3.17 only contains crun 1.7.2, to get at least 1.9.2 to resolve the run/shm issue, install crun from 3.19
run_command('apk', 'upgrade', '-U', '--repository=http://dl-cdn.alpinelinux.org/alpine/v3.19/community', 'crun')
run_command('service', 'docker', 'start')
run_command('modprobe', 'tun')

Loading…
Cancel
Save