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

(cherry picked from commit 86f48a526a)
pull/82837/head
Matt Martz 9 months ago committed by GitHub
parent 9e1fd8f2f0
commit cb82ddec02
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'] packages = ['docker', 'podman', 'openssl', 'crun', 'ip6tables']
run_command('apk', 'add', *packages) run_command('apk', 'add', *packages)
# 3.16 only contains crun 1.4.5, to get 1.9.2 to resolve the run/shm issue, install crun from edge # 3.16 only contains crun 1.4.5, to get 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/edge/community', 'crun') run_command('apk', 'upgrade', '-U', '--repository=http://dl-cdn.alpinelinux.org/alpine/v3.19/community', 'crun')
run_command('service', 'docker', 'start') run_command('service', 'docker', 'start')
run_command('modprobe', 'tun') run_command('modprobe', 'tun')

Loading…
Cancel
Save