File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
trustyai/ubi9-python-3.12 Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff 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}
208211else
209212 # only for mounting on non-ppc64le and non-s390x
210213 mkdir -p /root/OpenBLAS/
Original file line number Diff line number Diff line change 2727echo " Installing TexLive to allow PDf export from Notebooks"
2828curl -fL https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz -o install-tl-unx.tar.gz
2929zcat < install-tl-unx.tar.gz | tar xf -
30- cd install-tl-2*
30+ rm install-tl-unx.tar.gz
31+ pushd install-tl-2*
3132perl ./install-tl --no-interaction --scheme=scheme-small --texdir=/usr/local/texlive
33+ popd
34+ rm -rf install-tl-2*
3235mv /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
3741curl -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
3842mkdir -p /usr/local/pandoc
3943tar xvzf /tmp/pandoc.tar.gz --strip-components 1 -C /usr/local/pandoc/
4044rm -f /tmp/pandoc.tar.gz
45+
46+ # clean up /tmp
47+ rm -rf /tmp/* /tmp/.[! .]*
You can’t perform that action at this time.
0 commit comments