From 815e04f85955a2f0f5b5d2cebb3267b4921b68fa Mon Sep 17 00:00:00 2001 From: Simon Wessel <9195792+simon-wessel@users.noreply.github.com> Date: Tue, 4 Jun 2024 11:56:17 +0200 Subject: [PATCH] fix: skip xh for arm arch --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 08ab2c9..ba7f0e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -96,7 +96,9 @@ RUN ARCH=$(dpkg --print-architecture | sed -e 's/armhf/arm/') && \ # xh ENV XH_BINDIR="/usr/local/bin" -RUN curl -sfL https://github.com/raw/ducaale/xh/master/install.sh | sh && \ +RUN ARCH=$(dpkg --print-architecture | sed -e 's/armhf/arm/') && \ + if [ "$ARCH" = "arm" ] ; then exit 0 ; fi && \ + curl -sfL https://github.com/raw/ducaale/xh/master/install.sh | sh && \ xh --version # oh-my-zsh