Merge pull request #19524 from Homebrew/arm64-git-core-ppa
Dockerfile: skip git-core PPA on arm64 Linux
This commit is contained in:
commit
75b056e2a3
@ -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