From 0a2ea75e05fdb343158734875742b32e889538be Mon Sep 17 00:00:00 2001 From: "Shawn T. Amundson" Date: Mon, 29 Jan 2024 13:04:57 -0600 Subject: [PATCH] Fix docker lint SC2086 Adds some double quotes. Signed-off-by: Shawn T. Amundson --- ci/splinter-dev.dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/splinter-dev.dockerfile b/ci/splinter-dev.dockerfile index 263fd9b90..46a721ec8 100644 --- a/ci/splinter-dev.dockerfile +++ b/ci/splinter-dev.dockerfile @@ -50,14 +50,14 @@ RUN curl https://sh.rustup.rs -sSf > /usr/bin/rustup-init \ && cargo install cargo-deb \ # Install protoc && TARGET_ARCH=$(dpkg --print-architecture) \ - && if [[ $TARGET_ARCH == "arm64" ]]; then \ + && if [[ "$TARGET_ARCH" == "arm64" ]]; then \ PROTOC_ARCH="aarch_64"; \ - elif [[ $TARGET_ARCH == "amd64" ]]; then \ + elif [[ "$TARGET_ARCH" == "amd64" ]]; then \ PROTOC_ARCH="x86_64"; \ fi \ - && curl -OLsS https://github.com/google/protobuf/releases/download/v3.7.1/protoc-3.7.1-linux-$PROTOC_ARCH.zip \ - && unzip -o protoc-3.7.1-linux-$PROTOC_ARCH.zip -d /usr/local \ - && rm protoc-3.7.1-linux-$PROTOC_ARCH.zip \ + && curl -OLsS "https://github.com/google/protobuf/releases/download/v3.7.1/protoc-3.7.1-linux-$PROTOC_ARCH.zip" \ + && unzip -o "protoc-3.7.1-linux-$PROTOC_ARCH.zip" -d /usr/local \ + && rm "protoc-3.7.1-linux-$PROTOC_ARCH.zip" \ # Install just && curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin