mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
[ubuntu] replace wget to download_with_retries helper (#3087)
This commit is contained in:
committed by
GitHub
parent
0917a07677
commit
be27ebfdb3
@@ -8,7 +8,7 @@
|
||||
install_packages=(podman buildah skopeo)
|
||||
source /etc/os-release
|
||||
sh -c "echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/x${NAME}_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
|
||||
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x${NAME}_${VERSION_ID}/Release.key -O Release.key
|
||||
wget -qnv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x${NAME}_${VERSION_ID}/Release.key -O Release.key
|
||||
apt-key add Release.key
|
||||
apt-get update -qq
|
||||
apt-get -qq -y install ${install_packages[@]}
|
||||
|
||||
Reference in New Issue
Block a user