mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
Return sqlite3 and patchelf (#1206)
* patchelf bzip2 sqlite3 * update ubuntu 16.04 * merge 1604/basic.sh -> basic.sh
This commit is contained in:
committed by
GitHub
parent
9fa12b9367
commit
5f8c5c4fcf
@@ -38,7 +38,8 @@ common_packages="dnsutils
|
||||
zsync
|
||||
gnupg2
|
||||
lib32z1
|
||||
texinfo"
|
||||
texinfo
|
||||
libsqlite3-dev"
|
||||
|
||||
cmd_packages="curl
|
||||
file
|
||||
@@ -57,7 +58,10 @@ cmd_packages="curl
|
||||
wget
|
||||
m4
|
||||
bison
|
||||
flex"
|
||||
flex
|
||||
patchelf
|
||||
bzip2
|
||||
sqlite3"
|
||||
|
||||
if isUbuntu20 ; then
|
||||
echo "Install python2"
|
||||
@@ -65,7 +69,7 @@ if isUbuntu20 ; then
|
||||
fi
|
||||
|
||||
echo "Install libcurl"
|
||||
if isUbuntu18 ; then
|
||||
if isUbuntu16 || isUbuntu18; then
|
||||
libcurelVer="libcurl3"
|
||||
fi
|
||||
|
||||
@@ -75,12 +79,19 @@ fi
|
||||
|
||||
apt-get install -y --no-install-recommends $libcurelVer
|
||||
|
||||
# install additional packages only for Ubuntu16.04
|
||||
if isUbuntu16; then
|
||||
common_packages="$common_packages
|
||||
libc++-dev
|
||||
libc++abi-dev
|
||||
libicu55"
|
||||
fi
|
||||
|
||||
for package in $common_packages $cmd_packages; do
|
||||
echo "Install $package"
|
||||
apt-get install -y --no-install-recommends $package
|
||||
done
|
||||
|
||||
|
||||
# Run tests to determine that the software installed as expected
|
||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||
for cmd in $cmd_packages; do
|
||||
|
||||
Reference in New Issue
Block a user