Skip to content

Commit e3cd859

Browse files
committed
ci: build our own git on xenial
The git included with xenial is ancient, and lacks sha256 support.
1 parent e7a7691 commit e3cd859

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

ci/docker/xenial

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ RUN apt-get update && \
77
clang \
88
cmake \
99
curl \
10+
gettext \
1011
gcc \
11-
git \
1212
krb5-user \
1313
libcurl4-gnutls-dev \
14+
libexpat1-dev \
1415
libgcrypt20-dev \
16+
libintl-perl \
1517
libkrb5-dev \
1618
libpcre3-dev \
1719
libssl-dev \
@@ -28,7 +30,17 @@ RUN apt-get update && \
2830
&& \
2931
rm -rf /var/lib/apt/lists/*
3032

31-
FROM apt AS mbedtls
33+
FROM apt AS git
34+
RUN cd /tmp && \
35+
curl --location --silent --show-error https://github.com/git/git/archive/refs/tags/v2.39.1.tar.gz | \
36+
tar -xz && \
37+
cd git-2.39.1 && \
38+
make && \
39+
make prefix=/usr install && \
40+
cd .. && \
41+
rm -rf git-2.39.1
42+
43+
FROM git AS mbedtls
3244
RUN cd /tmp && \
3345
curl --location --silent --show-error https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/mbedtls-2.16.2.tar.gz | \
3446
tar -xz && \

0 commit comments

Comments
 (0)