Repository: exasol/integration-test-docker-environment (language: python)

Issue:
Add shellcheck verification



Discussion / hints:

Fix patch:
diff --git a/.github/workflows/shellcheck.yaml b/.github/workflows/shellcheck.yaml
new file mode 100644
index 000000000..019ff3e3b
--- /dev/null
+++ b/.github/workflows/shellcheck.yaml
@@ -0,0 +1,11 @@
+name: Check bash scripts
+
+on: [push, pull_request]
+
+jobs:
+  shellcheck:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Run shellcheck
+        run: ./scripts/build/shellcheck.sh
diff --git a/doc/changes/changes_0.8.0.md b/doc/changes/changes_0.8.0.md
index 9ca37492f..db96185e5 100644
--- a/doc/changes/changes_0.8.0.md
+++ b/doc/changes/changes_0.8.0.md
@@ -28,6 +28,7 @@ If you need further versions, please open an issue.
 ## Features / Enhancements:
 
  - #150: Updated exaplus and jdbc for test environment and cleaned up Dockerfile
+ - #157: Add shellcheck verification
 
 ## Refactoring:
 
diff --git a/docker_db_config_template/6.2.4/init_db.sh b/docker_db_config_template/6.2.4/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/docker_db_config_template/6.2.4/init_db.sh
+++ b/docker_db_config_template/6.2.4/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/docker_db_config_template/6.2/init_db.sh b/docker_db_config_template/6.2/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/docker_db_config_template/6.2/init_db.sh
+++ b/docker_db_config_template/6.2/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/docker_db_config_template/7.0.0/init_db.sh b/docker_db_config_template/7.0.0/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/docker_db_config_template/7.0.0/init_db.sh
+++ b/docker_db_config_template/7.0.0/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/docker_db_config_template/7.1.0/init_db.sh b/docker_db_config_template/7.1.0/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/docker_db_config_template/7.1.0/init_db.sh
+++ b/docker_db_config_template/7.1.0/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/githooks/install.sh b/githooks/install.sh
index 757a917fc..81264309b 100755
--- a/githooks/install.sh
+++ b/githooks/install.sh
@@ -26,7 +26,8 @@ GITHOOKS_PATH="$(readlink -f "${GITHOOKS_PATH}")"
 copy_hook() {
     local SCRIPT_PATH="$SCRIPT_DIR/$1"
     local GITHOOK_PATH="$GITHOOKS_PATH/$2"
-    local RELATIVE_PATH=$(realpath --relative-to="$GITHOOKS_PATH" "$SCRIPT_PATH")
+    local RELATIVE_PATH=""
+    RELATIVE_PATH=$(realpath --relative-to="$GITHOOKS_PATH" "$SCRIPT_PATH")
     pushd "$GITHOOKS_PATH" > /dev/null
     if [ -e "$GITHOOK_PATH" ] || [ -L "$GITHOOK_PATH" ]
     then
diff --git a/githooks/update_packaging.sh b/githooks/update_packaging.sh
index e0f2c9b21..f52a3bb34 100755
--- a/githooks/update_packaging.sh
+++ b/githooks/update_packaging.sh
@@ -4,7 +4,6 @@ set -o nounset
 set -o pipefail
 
 # define colors for use in output
-green='\033[0;32m'
 no_color='\033[0m'
 grey='\033[0;90m'
 
@@ -34,9 +33,9 @@ then
 fi
 poetry build > /dev/null
 pushd dist > /dev/null
-tar_file=$(ls *.tar.gz)
+tar_file=$(ls -- *.tar.gz)
 extracted_dir=${tar_file%.tar.gz}
-tar -xf $tar_file
+tar -xf "$tar_file"
 cp "$extracted_dir/setup.py" ../setup.py
 rm -r "$extracted_dir"
 popd > /dev/null
diff --git a/scripts/build/build_release.sh b/scripts/build/build_release.sh
index 2df4f2914..0d3750c2f 100755
--- a/scripts/build/build_release.sh
+++ b/scripts/build/build_release.sh
@@ -2,7 +2,8 @@
    
 
 SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" 
- 
+
+#shellcheck source=./scripts/build/poetry_utils.sh
 source "$SCRIPT_DIR/poetry_utils.sh"
 
 check_requirements
diff --git a/scripts/build/check_release.sh b/scripts/build/check_release.sh
index 007e44bf6..95bda3b3d 100755
--- a/scripts/build/check_release.sh
+++ b/scripts/build/check_release.sh
@@ -2,6 +2,7 @@
 
 SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
 
+#shellcheck source=./scripts/build/poetry_utils.sh
 source "$SCRIPT_DIR/../build/poetry_utils.sh"
 
 check_requirements
@@ -12,7 +13,7 @@ init_poetry
 
 if [ -n "$POETRY_BIN" ]
 then
-  PYTHONPATH=$SCRIPT_DIR/../.. $POETRY_BIN run python3 -u $SCRIPT_DIR/check_release.py
+  PYTHONPATH=$SCRIPT_DIR/../.. $POETRY_BIN run python3 -u "$SCRIPT_DIR/check_release.py"
 else
   echo "Could not find poetry!"
   exit 1
diff --git a/scripts/build/install_poetry.sh b/scripts/build/install_poetry.sh
index 65583ed42..b9895444e 100644
--- a/scripts/build/install_poetry.sh
+++ b/scripts/build/install_poetry.sh
@@ -1,8 +1,10 @@
 #!/bin/bash
 
+#shellcheck disable=SC2034
 POETRY_INSTALL="YES"
 SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
 
+#shellcheck source=./scripts/build/poetry_utils.sh
 source "$SCRIPT_DIR/poetry_utils.sh"
 
 check_requirements
diff --git a/scripts/build/poetry_utils.sh b/scripts/build/poetry_utils.sh
index 7a803a0fe..3df882083 100644
--- a/scripts/build/poetry_utils.sh
+++ b/scripts/build/poetry_utils.sh
@@ -17,7 +17,7 @@ request_install_poetry () {
   else
     echo "Do you want to install poetry local to the user using '$install_command'"
     echo -n "yes/no: "
-    read ANSWER
+    read -r ANSWER
   fi
   if [ "$ANSWER" == "yes" ]
   then
@@ -65,7 +65,7 @@ check_python_version(){
   if [ -z "$PYTHON_BIN" ]
   then
     ACCEPTABLE_PYTHON_EXECUTABLES=("python3.6" "python3.7" "python3.8")
-    for python_executable in ${ACCEPTABLE_PYTHON_EXECUTABLES[@]}
+    for python_executable in "${ACCEPTABLE_PYTHON_EXECUTABLES[@]}"
     do
       PYTHON_BIN=$(command -v "$python_executable")
       if [ -n "$PYTHON_BIN" ]
diff --git a/scripts/build/shellcheck.sh b/scripts/build/shellcheck.sh
new file mode 100755
index 000000000..1b0b47fd4
--- /dev/null
+++ b/scripts/build/shellcheck.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+set -u
+
+interesting_paths=("scripts" "docker_db_config_template" "exasol_integration_test_docker_environment" "githooks")
+
+SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
+status=0
+
+for path in "${interesting_paths[@]}"; do
+  find "$SCRIPT_DIR/../../$path" -name '*.sh' -type f -print0 | xargs -0 -n1 shellcheck -x
+  test $? -ne 0 && status=1
+done
+
+
+interesting_files=("./start-test-env" "./start-test-env-with-poetry" "./start-test-env-without-poetry")
+
+for f in "${interesting_files[@]}"; do
+  shellcheck -x "$SCRIPT_DIR/../../$f"
+  test $? -ne 0 && status=1
+done
+
+exit "$status"
\ No newline at end of file
diff --git a/scripts/docker/construct_docker_runner_image_name.sh b/scripts/docker/construct_docker_runner_image_name.sh
index b77ffe55d..b381c7cf0 100755
--- a/scripts/docker/construct_docker_runner_image_name.sh
+++ b/scripts/docker/construct_docker_runner_image_name.sh
@@ -2,8 +2,6 @@
 
 set -euo pipefail
 
-SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
-
 if [ -z "${1-}" ]
 then
   VERSION="$(git rev-parse HEAD || echo latest)"


Test patch:
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.0/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.0/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.0/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.0/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.1/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.1/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.1/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.1/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.10/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.10/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.10/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.10/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.11/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.11/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.11/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.11/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.12/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.12/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.12/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.12/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.13/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.13/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.13/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.13/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.14/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.14/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.14/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.14/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.15/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.15/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.15/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.15/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.16/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.16/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.16/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.16/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.17/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.17/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.17/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.17/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.3/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.3/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.3/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.3/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.4/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.4/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.4/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.4/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.5/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.5/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.5/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.5/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.6/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.6/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.6/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.6/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.7/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.7/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.7/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.7/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.8/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.8/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.8/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.8/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2.9/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2.9/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2.9/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2.9/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/6.2/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/6.2/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/6.2/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/6.2/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.0/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.0/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.0/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.0/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.1/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.1/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.1/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.1/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.10/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.10/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.10/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.10/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.11/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.11/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.11/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.11/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.12/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.12/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.12/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.12/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.13/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.13/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.13/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.13/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.14/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.14/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.14/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.14/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.2/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.2/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.2/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.2/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.3/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.3/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.3/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.3/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.4/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.4/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.4/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.4/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.5/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.5/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.5/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.5/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.6/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.6/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.6/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.6/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.7/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.7/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.7/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.7/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.8/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.8/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.8/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.8/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.0.9/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.0.9/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.0.9/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.0.9/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.1.0/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.1.0/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.1.0/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.1.0/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.1.1/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.1.1/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.1.1/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.1.1/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.1.2/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.1.2/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.1.2/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.1.2/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/docker_db_config/7.1.3/init_db.sh b/exasol_integration_test_docker_environment/docker_db_config/7.1.3/init_db.sh
index 369fc9d7e..d30413601 100755
--- a/exasol_integration_test_docker_environment/docker_db_config/7.1.3/init_db.sh
+++ b/exasol_integration_test_docker_environment/docker_db_config/7.1.3/init_db.sh
@@ -7,4 +7,4 @@ DEVICE_SIZE_IN_MEGABYTES=$1
 # Setup directory "exa" with pre-configured EXAConf to attach it to the exasoldb docker container
 mkdir -p /exa/{etc,data/storage}
 cp EXAConf /exa/etc/EXAConf
-dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek=$DEVICE_SIZE_IN_MEGABYTES
+dd if=/dev/zero of=/exa/data/storage/dev.1 bs=1M count=1 seek="$DEVICE_SIZE_IN_MEGABYTES"
diff --git a/exasol_integration_test_docker_environment/test_container_config/create_certificates.sh b/exasol_integration_test_docker_environment/test_container_config/create_certificates.sh
index c997d8165..63743d379 100644
--- a/exasol_integration_test_docker_environment/test_container_config/create_certificates.sh
+++ b/exasol_integration_test_docker_environment/test_container_config/create_certificates.sh
@@ -2,10 +2,12 @@
 
 set -euo pipefail
 
+#shellcheck disable=SC1083
 NAME={{HOST_NAME}}
 
 echo SubjectName: $NAME
 
+#shellcheck disable=SC1083
 certs_dir={{cert_dir}}
 
 echo Certificate Dir: $certs_dir
diff --git a/scripts/docker/build_test_environment_docker_runner.sh b/scripts/docker/build_test_environment_docker_runner.sh
index ca756a136..966dadb13 100755
--- a/scripts/docker/build_test_environment_docker_runner.sh
+++ b/scripts/docker/build_test_environment_docker_runner.sh
@@ -4,6 +4,6 @@ set -euo pipefail
 
 SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
 
-IMAGE_NAME="$($SCRIPT_DIR/construct_docker_runner_image_name.sh)"
+IMAGE_NAME=$("$SCRIPT_DIR/construct_docker_runner_image_name.sh")
 
-docker build -t $IMAGE_NAME $SCRIPT_DIR/../..
+docker build -t "$IMAGE_NAME" "$SCRIPT_DIR/../.."
diff --git a/scripts/docker/push_test_environment_docker_runner.sh b/scripts/docker/push_test_environment_docker_runner.sh
index dcef62a26..39fe14dbe 100755
--- a/scripts/docker/push_test_environment_docker_runner.sh
+++ b/scripts/docker/push_test_environment_docker_runner.sh
@@ -4,12 +4,12 @@ set -euo pipefail
 
 SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
 
-GIT_IMAGE_NAME="$($SCRIPT_DIR/construct_docker_runner_image_name.sh)"
+GIT_IMAGE_NAME=$("$SCRIPT_DIR/construct_docker_runner_image_name.sh")
 
-docker push $GIT_IMAGE_NAME
+docker push "$GIT_IMAGE_NAME"
 
-LATEST_IMAGE_NAME="$($SCRIPT_DIR/construct_docker_runner_image_name.sh latest)"
+LATEST_IMAGE_NAME=$("$SCRIPT_DIR/construct_docker_runner_image_name.sh" latest)
 
 docker tag "$GIT_IMAGE_NAME" "$LATEST_IMAGE_NAME"
 
-docker push $LATEST_IMAGE_NAME
+docker push "$LATEST_IMAGE_NAME"
diff --git a/scripts/test/run_all_tests.sh b/scripts/test/run_all_tests.sh
index d47bba7e1..5c8551f58 100755
--- a/scripts/test/run_all_tests.sh
+++ b/scripts/test/run_all_tests.sh
@@ -1,8 +1,8 @@
 #!/bin/bash 
    
-COMMAND_LINE_ARGS=("${@}") 
-SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" 
- 
+SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
+
+#shellcheck source=./scripts/build/poetry_utils.sh
 source "$SCRIPT_DIR/../build/poetry_utils.sh"
 
 check_requirements
@@ -13,7 +13,7 @@ init_poetry
 
 if [ -n "$POETRY_BIN" ]
 then
-  PYTHONPATH=$SCRIPT_DIR/../.. $POETRY_BIN run python3 -u -m unittest discover $SCRIPT_DIR/../../exasol_integration_test_docker_environment/test
+  PYTHONPATH="$SCRIPT_DIR/../.." $POETRY_BIN run python3 -u -m unittest discover "$SCRIPT_DIR/../../exasol_integration_test_docker_environment/test"
 else
   echo "Could not find poetry!"
   exit 1
diff --git a/scripts/test/run_test.sh b/scripts/test/run_test.sh
index 9e8d6f105..137066b75 100755
--- a/scripts/test/run_test.sh
+++ b/scripts/test/run_test.sh
@@ -2,6 +2,7 @@
   
 SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
 
+#shellcheck source=./scripts/build/poetry_utils.sh
 source "$SCRIPT_DIR/../build/poetry_utils.sh"
 
 check_requirements
diff --git a/start-test-env b/start-test-env
index b00a457c4..1033c6305 100755
--- a/start-test-env
+++ b/start-test-env
@@ -20,10 +20,10 @@ do
     quoted_arguments="$quoted_arguments \"${argument//\"/\\\"}\""
 done
 
-IMAGE_NAME="$($SCRIPT_DIR/scripts/docker/construct_docker_runner_image_name.sh)"
+IMAGE_NAME=$("$SCRIPT_DIR/scripts/docker/construct_docker_runner_image_name.sh")
 
-docker pull $IMAGE_NAME || bash $SCRIPT_DIR/scripts/docker/build_test_environment_docker_runner.sh
+docker pull "$IMAGE_NAME" || bash "$SCRIPT_DIR/scripts/docker/build_test_environment_docker_runner.sh"
 
-docker run --rm $terminal_parameter -v "$PWD:$PWD" -v /var/run/docker.sock:/var/run/docker.sock -w "$PWD" $IMAGE_NAME bash -c "python3 -m pip install .; ./start-test-env-without-poetry $quoted_arguments; RETURN_CODE=\$?; chown -R $(id -u):$(id -g) .build_output &> /dev/null; exit \$RETURN_CODE"
+docker run --rm $terminal_parameter -v "$PWD:$PWD" -v /var/run/docker.sock:/var/run/docker.sock -w "$PWD" "$IMAGE_NAME" bash -c "python3 -m pip install .; ./start-test-env-without-poetry $quoted_arguments; RETURN_CODE=\$?; chown -R $(id -u):$(id -g) .build_output &> /dev/null; exit \$RETURN_CODE"
 
 popd &> /dev/null
diff --git a/start-test-env-with-poetry b/start-test-env-with-poetry
index d4d1a6ac8..d1e18a4bb 100755
--- a/start-test-env-with-poetry
+++ b/start-test-env-with-poetry
@@ -3,6 +3,7 @@
 
 SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
 
+#shellcheck source=./scripts/build/poetry_utils.sh
 source "$SCRIPT_DIR/scripts/build/poetry_utils.sh"
 
 check_requirements