mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 19:46:46 +00:00
[Ubuntu] 22.04: install libssl1.1 via apt (#9432)
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
This commit is contained in:
@@ -10,11 +10,14 @@ source $HELPER_SCRIPTS/os.sh
|
||||
|
||||
# Install libssl1.1 dependency
|
||||
if is_ubuntu22; then
|
||||
libssl_deb_path=$(download_with_retry "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb")
|
||||
libssl_hash="df9d07d552aab0c7e5b9fbcc568913acd20d50fb8b1e34876fa348b7a0c82d48"
|
||||
use_checksum_comparison "$libssl_deb_path" "$libssl_hash"
|
||||
focal_list=/etc/apt/sources.list.d/focal-security.list
|
||||
echo "deb http://archive.ubuntu.com/ubuntu/ focal-security main" | tee "${focal_list}"
|
||||
apt-get update --quiet
|
||||
|
||||
dpkg -i "$libssl_deb_path"
|
||||
apt-get install --no-install-recommends --yes libssl1.1
|
||||
|
||||
rm "${focal_list}"
|
||||
apt-get update --quiet
|
||||
fi
|
||||
|
||||
# Install SqlPackage
|
||||
|
||||
Reference in New Issue
Block a user