mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-07 20:53:54 -05:00
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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user