Merge pull request #19524 from Homebrew/arm64-git-core-ppa

Dockerfile: skip git-core PPA on arm64 Linux
This commit is contained in:
Carlo Cabrera 2025-03-18 09:09:02 +00:00 committed by GitHub
commit 75b056e2a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@ RUN touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu
# shellcheck disable=SC1091,SC2154,SC2292 # shellcheck disable=SC1091,SC2154,SC2292
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends software-properties-common gnupg-agent \ && 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 update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
acl \ acl \