diff --git a/stx/dockerfiles/stx-lat-tool.Dockerfile b/stx/dockerfiles/stx-lat-tool.Dockerfile index 006cd159..f8e7bb5d 100644 --- a/stx/dockerfiles/stx-lat-tool.Dockerfile +++ b/stx/dockerfiles/stx-lat-tool.Dockerfile @@ -40,10 +40,30 @@ RUN apt-get -y update && apt-get --no-install-recommends -y install \ vim \ && \ apt-get clean && \ - rm -rf /var/lib/apt/lists/* && \ mkdir -p /opt/LAT/SDK && \ pip3 install pycryptodomex requests_toolbelt +# Packages for pre-patched iso creation support +RUN apt-get -y install \ + isomd5sum \ + syslinux-utils \ + bubblewrap \ + git \ + python3-apt \ + python3-gi \ + python3-gi-cairo \ + python3-systemd \ + gir1.2-ostree-1.0 \ + reprepro \ + dosfstools \ + xfsprogs \ + debos \ + mmdebstrap \ + && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* && \ + pip3 install git+https://opendev.org/starlingx/apt-ostree@master + # Insert pubkey of the package repository COPY stx/toCOPY/builder/pubkey.rsa /opt/LAT/ diff --git a/stx/stx-build-tools-chart/stx-builder/dependency_chart/stx-lat-tool/configmap/patch.env.sample b/stx/stx-build-tools-chart/stx-builder/dependency_chart/stx-lat-tool/configmap/patch.env.sample index 849a011f..96c15b25 100644 --- a/stx/stx-build-tools-chart/stx-builder/dependency_chart/stx-lat-tool/configmap/patch.env.sample +++ b/stx/stx-build-tools-chart/stx-builder/dependency_chart/stx-lat-tool/configmap/patch.env.sample @@ -13,5 +13,7 @@ export MY_BUILD_TOOLS_DIR=$MY_REPO/build-tools export PATCH_TOOLS=${MY_REPO}/stx/update/sw-patch/cgcs-patch/cgcs_make_patch export STX_BUILD_HOME="/" export DEPLOY_DIR=${LOCALDISK}/deploy +export HTTP_CONTAINER_HOSTNAME="http://@PROJECT@-stx-builder-files-http:8088" +export HTTP_CONTAINER_IP=$(getent hosts @PROJECT@-stx-builder-files-http | cut -d ' ' -f1) export PATH=$PATH:$MY_BUILD_TOOLS_DIR:/opt/LAT/SDK/sysroots/x86_64-wrlinuxsdk-linux/usr/bin \ No newline at end of file