MOSIP-43658: [UI Automation] Inji Mob - Fix the security hotspot issue found in sonar cube (#2136)

Fix curl command for kubectl download in Dockerfile

Signed-off-by: maheswaras <maheswara.s@cyberpwn.com>
This commit is contained in:
maheswaras
2025-11-18 09:40:15 +05:30
committed by GitHub
parent f1a466cef7
commit d0f98e6381

View File

@@ -38,7 +38,7 @@ RUN apt-get -y update \
&& apt-get install -y unzip jq curl \
&& groupadd -g ${container_user_gid} ${container_user_group} \
&& useradd -u ${container_user_uid} -g ${container_user_group} -s /bin/bash -m ${container_user} \
&& curl -LO "https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl" \
&& curl --proto '=https' --proto-redir '=https' -LO "https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl" \
&& mkdir -p /home/${container_user} \
&& chmod +x kubectl $work_dir/entrypoint.sh \
&& mv kubectl /usr/local/bin/ \
@@ -63,4 +63,4 @@ ENV ENV_TESTLEVEL=smokeAndRegression
ENV ENV_TESTNG_XML_FILE=
ENV ENV_BROWSERSTACK_CONFIG=
ENTRYPOINT ["./entrypoint.sh"]
ENTRYPOINT ["./entrypoint.sh"]