Dockerfile: skip git-core PPA on arm64 Linux

This seems to be broken on Ubuntu 22.04 at the moment. The system seems
to ship a reasonably modern version (2.34.1), so I think we can make do
with that for now.
This commit is contained in:
Carlo Cabrera 2025-03-18 16:56:44 +08:00 committed by Carlo Cabrera
parent 2462e40ca5
commit 4510333e9a
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -20,7 +20,7 @@ RUN touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu
# shellcheck disable=SC1091,SC2154,SC2292
RUN apt-get update \
&& apt-get install -y --no-install-recommends software-properties-common gnupg-agent \
&& add-apt-repository -y ppa:git-core/ppa \
&& if [ "$(uname -m)" != aarch64 ]; then add-apt-repository -y ppa:git-core/ppa; fi \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
acl \