From 845fc35bd6819cde8233265bf3ad6b874ad3c3b3 Mon Sep 17 00:00:00 2001 From: Heather Ward Date: Tue, 19 Nov 2024 15:02:48 -0500 Subject: [PATCH] Upgrade shellcheck to v0.10.0 --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b97bbe3..ce76008 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,15 @@ FROM python:3.11.0-slim-buster RUN apt-get -qq update \ && apt-get -qq install \ git \ - shellcheck \ + wget \ + xz-utils \ gcc +# Shellcheck +ENV SHELLCHECK_VERSION=v0.10.0 +RUN wget -qO- "https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_VERSION}/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar -xJv --directory /opt +ENV PATH="${PATH}:/opt/shellcheck-${SHELLCHECK_VERSION}" + WORKDIR /usr/src COPY README.md README.md