diff options
Diffstat (limited to 'third_party/git/ci/install-docker-dependencies.sh')
-rwxr-xr-x | third_party/git/ci/install-docker-dependencies.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/git/ci/install-docker-dependencies.sh b/third_party/git/ci/install-docker-dependencies.sh new file mode 100755 index 000000000000..26a6689766d7 --- /dev/null +++ b/third_party/git/ci/install-docker-dependencies.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# +# Install dependencies required to build and test Git inside container +# + +case "$jobname" in +Linux32) + linux32 --32bit i386 sh -c ' + apt update >/dev/null && + apt install -y build-essential libcurl4-openssl-dev \ + libssl-dev libexpat-dev gettext python >/dev/null + ' + ;; +linux-musl) + apk add --update build-base curl-dev openssl-dev expat-dev gettext \ + pcre2-dev python3 musl-libintl perl-utils ncurses >/dev/null + ;; +esac |