chg: Dockerfile - fix shell-check complains

double-quote possible glob expansions
This commit is contained in:
Bharath Vignesh J K 2023-05-14 01:01:56 +05:30
parent ab016bc15e
commit 31d6338b9d
2 changed files with 4 additions and 4 deletions

View File

@ -58,7 +58,7 @@ COPY requirements.txt docker-requirements.txt webui-requirements.txt optional-re
# BUILD: Install the minimal image deps # BUILD: Install the minimal image deps
FROM build as buildMinimal FROM build as buildMinimal
RUN python${PYTHON_VERSION} -m pip install --target=/venv/lib/python${PYTHON_VERSION}/site-packages \ RUN python${PYTHON_VERSION} -m pip install --target="/venv/lib/python${PYTHON_VERSION}/site-packages" \
# Note: requirements.txt is include by dep # Note: requirements.txt is include by dep
-r docker-requirements.txt \ -r docker-requirements.txt \
-r webui-requirements.txt -r webui-requirements.txt
@ -72,7 +72,7 @@ ARG CASS_DRIVER_NO_CYTHON=1
# See issue 2368 # See issue 2368
ARG CARGO_NET_GIT_FETCH_WITH_CLI=true ARG CARGO_NET_GIT_FETCH_WITH_CLI=true
RUN python${PYTHON_VERSION} -m pip install --target=/venv/lib/python${PYTHON_VERSION}/site-packages \ RUN python${PYTHON_VERSION} -m pip install --target="/venv/lib/python${PYTHON_VERSION}/site-packages" \
# Note: requirements.txt is include by dep # Note: requirements.txt is include by dep
-r optional-requirements.txt -r optional-requirements.txt

View File

@ -57,7 +57,7 @@ COPY requirements.txt docker-requirements.txt webui-requirements.txt optional-re
# BUILD: Install the minimal image deps # BUILD: Install the minimal image deps
FROM build as buildMinimal FROM build as buildMinimal
RUN python${PYTHON_VERSION} -m pip install --target=/venv/lib/python${PYTHON_VERSION}/site-packages \ RUN python${PYTHON_VERSION} -m pip install --target="/venv/lib/python${PYTHON_VERSION}/site-packages" \
# Note: requirements.txt is include by dep # Note: requirements.txt is include by dep
-r docker-requirements.txt \ -r docker-requirements.txt \
-r webui-requirements.txt -r webui-requirements.txt
@ -66,7 +66,7 @@ RUN python${PYTHON_VERSION} -m pip install --target=/venv/lib/python${PYTHON_VER
# BUILD: Install all the deps # BUILD: Install all the deps
FROM build as buildFull FROM build as buildFull
RUN python${PYTHON_VERSION} -m pip install --target=/venv/lib/python${PYTHON_VERSION}/site-packages \ RUN python${PYTHON_VERSION} -m pip install --target="/venv/lib/python${PYTHON_VERSION}/site-packages" \
# Note: requirements.txt is include by dep # Note: requirements.txt is include by dep
-r optional-requirements.txt -r optional-requirements.txt