Skip to content

Commit db97e3e

Browse files
parheliammvladak
authored andcommitted
Ingore helix-p4d on ARM64
helix-p4d didn't available on ARM64 platform, there is no obvious impacts after removing it on ARM64. Signed-off-by: Chenxi Mao <[email protected]>
1 parent af79198 commit db97e3e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,14 @@ RUN echo 'deb https://package.perforce.com/apt/ubuntu jammy release' > /etc/apt/
5757
# install dependencies and Python tools
5858
# hadolint ignore=DL3008,DL3009
5959
RUN apt-get update && \
60-
apt-get install --no-install-recommends -y git subversion mercurial cvs cssc bzr rcs rcs-blame helix-p4d \
60+
apt-get install --no-install-recommends -y git subversion mercurial cvs cssc bzr rcs rcs-blame \
6161
unzip python3 python3-pip \
6262
python3-venv python3-setuptools openssh-client libyaml-dev
6363

64+
RUN architecture=$(uname -m) && if [[ "$architecture" == "aarch64" ]]; then \
65+
echo "aarch64: do not install helix-p4d."; else \
66+
apt-get install --no-install-recommends -y helix-p4d; fi
67+
6468
# compile and install universal-ctags
6569
# hadolint ignore=DL3003,DL3008
6670
RUN apt-get install --no-install-recommends -y pkg-config automake build-essential && \

0 commit comments

Comments
 (0)