From 4510333e9a382bcbe52fc9e83de1dcf96e29d1b3 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera Date: Tue, 18 Mar 2025 16:56:44 +0800 Subject: [PATCH] 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. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 64ce1a2019..8286aa9625 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \