From 7861b3c4e50cfc8feb01b876b29851e80abdcea7 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Thu, 16 Dec 2021 21:05:42 -0800 Subject: [PATCH] Fix shellcheck install failure on arm --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bf55e2c..0b5b719 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,9 +13,11 @@ RUN apk add \ py3-pip \ python3 \ rustup \ - shellcheck \ ; +# Try to install shellcheck +RUN test "$(uname -m)" = "x86_64" && apk add shellcheck || true + # Install dependencies for python-language-server RUN apk add gcc g++ python3-dev