Skip to content

Commit 8ccb6fb

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 059a27d + ce64808 commit 8ccb6fb

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
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: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,21 @@ fi
2727
echo "Installing TexLive to allow PDf export from Notebooks"
2828
curl -fL https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz -o install-tl-unx.tar.gz
2929
zcat < install-tl-unx.tar.gz | tar xf -
30-
cd install-tl-2*
30+
rm install-tl-unx.tar.gz
31+
pushd install-tl-2*
3132
perl ./install-tl --no-interaction --scheme=scheme-small --texdir=/usr/local/texlive
33+
popd
34+
rm -rf install-tl-2*
3235
mv /usr/local/texlive/bin/"$(uname -m)-linux" /usr/local/texlive/bin/linux
33-
cd /usr/local/texlive/bin/linux
36+
pushd /usr/local/texlive/bin/linux
3437
./tlmgr install tcolorbox pdfcol adjustbox titling enumitem soul ucs collection-fontsrecommended
38+
popd
3539

3640
# pandoc installation
3741
curl -fL "https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-linux-${ARCH}.tar.gz" -o /tmp/pandoc.tar.gz
3842
mkdir -p /usr/local/pandoc
3943
tar xvzf /tmp/pandoc.tar.gz --strip-components 1 -C /usr/local/pandoc/
4044
rm -f /tmp/pandoc.tar.gz
45+
46+
# clean up /tmp
47+
rm -rf /tmp/* /tmp/.[!.]*

0 commit comments

Comments
 (0)