Skip to content

Commit 951c53c

Browse files
committed
RHAIENG-2111: chore(trustyai): clean up temporary build files
1 parent de3f076 commit 951c53c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

jupyter/trustyai/ubi9-python-3.12/devel_env_setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@ if [[ $(uname -m) == "ppc64le" ]] || [[ $(uname -m) == "s390x" ]]; then
205205

206206
uv pip list
207207
cd ${CURDIR}
208+
209+
# cleanup temporary build files
210+
rm -rf ${TMP}
208211
else
209212
# only for mounting on non-ppc64le and non-s390x
210213
mkdir -p /root/OpenBLAS/

jupyter/utils/install_pdf_deps.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ curl -fL "https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2
3838
mkdir -p /usr/local/pandoc
3939
tar xvzf /tmp/pandoc.tar.gz --strip-components 1 -C /usr/local/pandoc/
4040
rm -f /tmp/pandoc.tar.gz
41+
42+
# clean up /tmp
43+
rm -rf /tmp/* /tmp/.[!.]*

0 commit comments

Comments
 (0)