mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
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:
parent
2462e40ca5
commit
4510333e9a
@ -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 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user