[stable-2.16] Install crun from Alpine 3.19 for known musl compatibility (#82812) (#82814)

(cherry picked from commit 86f48a5)
pull/82839/head
Matt Martz 9 months ago committed by GitHub
parent 56f31126ad
commit eb73cc488b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1058,9 +1058,9 @@ 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.18 only contains crun 1.8.4, to get 1.9.2 to resolve the run/shm issue, install crun from edge # 3.18 only contains crun 1.8.4, to get 1.9.2 to resolve the run/shm issue, install crun from 3.19
# Remove once we update to 3.19 # Remove once we update to 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