Merge "debian: remove LAT SDK installer after running"
This commit is contained in:
commit
fcf645e3d9
|
@ -38,10 +38,11 @@ COPY stx/toCOPY/builder/pubkey.rsa /opt/LAT/
|
|||
|
||||
# Prepare executables
|
||||
COPY stx/toCOPY/lat-tool/lat/ /opt/LAT/lat
|
||||
# Prepare LAT SDK.
|
||||
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
|
||||
# Download & install LAT SDK.
|
||||
RUN wget --quiet ${LAT_BINARY_RESOURCE_PATH}/lat-sdk.sh --output-document=/opt/LAT/AppSDK.sh && \
|
||||
chmod +x /opt/LAT/AppSDK.sh && \
|
||||
/opt/LAT/AppSDK.sh -d /opt/LAT/SDK -y && \
|
||||
rm -f /opt/LAT/AppSDK.sh
|
||||
|
||||
# Fix: Use Debian CDN address for geo-frendly servers
|
||||
RUN sed -i 's/ftp.cn.debian.org/deb.debian.org/g' /opt/LAT/SDK/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/python3.10/site-packages/genimage/debian_constant.py
|
||||
|
|
Loading…
Reference in New Issue