diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-04-07 22:16:30 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-07 22:16:30 -0700 |
commit | 54711243407791b188bf338e105cdc6d81ee4402 (patch) | |
tree | 25afcee788a5f7ce0151c98a18d91a5ac0aab142 /ci/install-docker-dependencies.sh | |
parent | Merge branch 'dd/test-with-busybox' into HEAD (diff) | |
parent | travis: build and test on Linux with musl libc and busybox (diff) | |
download | tgif-54711243407791b188bf338e105cdc6d81ee4402.tar.xz |
Merge branch 'dd/ci-musl-libc' into HEAD
* dd/ci-musl-libc:
travis: build and test on Linux with musl libc and busybox
ci/linux32: libify install-dependencies step
ci: refactor docker runner script
ci/linux32: parameterise command to switch arch
ci/lib-docker: preserve required environment variables
ci: make MAKEFLAGS available inside the Docker container in the Linux32 job
Diffstat (limited to 'ci/install-docker-dependencies.sh')
-rwxr-xr-x | ci/install-docker-dependencies.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ci/install-docker-dependencies.sh b/ci/install-docker-dependencies.sh new file mode 100755 index 0000000000..26a6689766 --- /dev/null +++ b/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 |