Merge "stx/dockerfiles/stx-lat-tool.Dockerfile: fix download lat-sdk.sh failed"

This commit is contained in:
Zuul 2022-04-01 19:37:35 +00:00 committed by Gerrit Code Review
commit 28c9de30c7

View File

@ -26,6 +26,7 @@ RUN apt-get -y update && apt-get --no-install-recommends -y install \
bzip2 \
procps \
tini \
wget \
locales-all \
python3-yaml && \
apt-get clean && \
@ -35,7 +36,7 @@ RUN apt-get -y update && apt-get --no-install-recommends -y install \
# Prepare executables
COPY stx/toCOPY/lat-tool/lat/ /opt/LAT/lat
# Prepare LAT SDK.
ADD ${LAT_BINARY_RESOURCE_PATH}/lat-sdk.sh /opt/LAT/AppSDK.sh
RUN wget --quiet ${LAT_BINARY_RESOURCE_PATH}/lat-sdk.sh --output-document=/opt/LAT/AppSDK.sh
RUN chmod +x /opt/LAT/AppSDK.sh
RUN /opt/LAT/AppSDK.sh -d /opt/LAT/SDK -y