From 2c92812744e9fec575c95389696b00de42456d5d Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Wed, 4 Dec 2024 14:56:36 +0000 Subject: [PATCH] Ignore SC1091 for shellcheck on Dockerfile --- .github/actions/lint/action.yml | 2 +- docker/tna-python-dev/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/lint/action.yml b/.github/actions/lint/action.yml index 44f7b4b..dbc8dcb 100644 --- a/.github/actions/lint/action.yml +++ b/.github/actions/lint/action.yml @@ -20,5 +20,5 @@ runs: run: | cd ${{ inputs.dockerfile-location }} [ -d "./bin" ] && shellcheck --external-sources --exclude=SC1091 ./bin/* - shellcheck --external-sources --exclude=SC2148 ./Dockerfile + shellcheck --external-sources --exclude=SC2148 --exclude=SC1091 ./Dockerfile shell: bash diff --git a/docker/tna-python-dev/Dockerfile b/docker/tna-python-dev/Dockerfile index b953352..4f5337b 100644 --- a/docker/tna-python-dev/Dockerfile +++ b/docker/tna-python-dev/Dockerfile @@ -50,7 +50,7 @@ COPY --chown=app lib/* /home/app/ # fixing both Python and JS/CSS code # ========================================== RUN python -m pip install --no-cache-dir --quiet black==24.10.0 flake8==7.1.1 isort==5.13.2; \ - . /home/app/.nvm/nvm.sh; \ + . "$HOME/.nvm/nvm.sh"; \ npm install -g prettier@3.4.2 eslint@8.56.0 stylelint@16.11.0 stylelint-config-standard-scss@14.0.0 stylelint-selector-bem-pattern@4.0.1 CMD ["dev"]