diff --git a/lmod/Dockerfile b/lmod/Dockerfile index fe7981302da9828d4d387c7ff37ac5696503b459..82750734124b357896cf11a366039450f078e5a2 100644 --- a/lmod/Dockerfile +++ b/lmod/Dockerfile @@ -15,6 +15,11 @@ RUN dnf -yq update && \ dnf -yq install epel-release findutils && \ cat /tmp/dnf_packages.txt | xargs dnf install -yq && \ dnf clean all && rm /tmp/dnf_packages.txt + +# Install python packages +COPY files/pip_packages.txt /tmp/pip_packages.txt +RUN pip install -r /tmp/pip_packages.txt + # Download and install curlftpfs RUN mkdir -p /opt/apps/install COPY --chown=root:root ./install_files/curlftpfs /opt/apps/install/curlftpfs @@ -56,4 +61,4 @@ RUN /bin/bash /tmp/mnt.sh && rm /tmp/mnt.sh && fix-permissions /tmp/custom USER $NB_USER WORKDIR /home/$NB_USER -ENTRYPOINT ["/bin/bash", "/tmp/custom/start_jupyter.sh"] \ No newline at end of file +ENTRYPOINT ["/bin/bash", "/tmp/custom/start_jupyter.sh"] diff --git a/lmod/files/dnf_packages.txt b/lmod/files/dnf_packages.txt index d9de2e0e9a77249e6d2763ed9fbf3f86881a8651..d5d430f252e3c7cff114ebb936e8fc1df5277d07 100644 --- a/lmod/files/dnf_packages.txt +++ b/lmod/files/dnf_packages.txt @@ -10,6 +10,7 @@ openssh openssh-clients procps python3 +python3-pip rsync sudo tcl-devel diff --git a/lmod/files/pip_packages.txt b/lmod/files/pip_packages.txt new file mode 100644 index 0000000000000000000000000000000000000000..435a21b6626692c63a0f082e9bdbca55fb72c785 --- /dev/null +++ b/lmod/files/pip_packages.txt @@ -0,0 +1 @@ +pyunicore