]> git.ipfire.org Git - thirdparty/git.git/blob - ci/install-docker-dependencies.sh
branch.c: simplify advice-and-die sequence
[thirdparty/git.git] / ci / install-docker-dependencies.sh
1 #!/bin/sh
2 #
3 # Install dependencies required to build and test Git inside container
4 #
5
6 case "$jobname" in
7 Linux32)
8 linux32 --32bit i386 sh -c '
9 apt update >/dev/null &&
10 apt install -y build-essential libcurl4-openssl-dev \
11 libssl-dev libexpat-dev gettext python >/dev/null
12 '
13 ;;
14 linux-musl)
15 apk add --update build-base curl-dev openssl-dev expat-dev gettext \
16 pcre2-dev python3 musl-libintl perl-utils ncurses >/dev/null
17 ;;
18 pedantic)
19 dnf -yq update >/dev/null &&
20 dnf -yq install make gcc findutils diffutils perl python3 gettext zlib-devel expat-devel openssl-devel curl-devel pcre2-devel >/dev/null
21 ;;
22 esac