Skip to content
Snippets Groups Projects
Commit 00b5216f authored by Marco De Simone's avatar Marco De Simone
Browse files

Update Dockerfile - downlaod & add hercules ows materials into $HOME/Oasys

parent c125f668
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ RUN apt-get -y update \
xfce4-panel \
xfce4-session \
xfce4-settings \
wget \
xorg \
xubuntu-icon-theme
......@@ -32,5 +33,10 @@ ADD ./oasys/oasys.desktop /usr/share/applications/oasys.desktop
ADD ./oasys/oasys-icon.xpm /usr/share/pixmaps/oasys-icon.xpm
RUN chmod +x /usr/local/bin/*.sh
USER $NB_USER
RUN mkdir $HOME/Oasys && \
wget https://github.com/oasys-esrf-kit/oasys_hercules/blob/main/2022/hercules_coherence_transport.ows -O $HOME/Oasys/hercules_coherence_transport.ows && \
wget https://github.com/oasys-esrf-kit/oasys_hercules/blob/main/2022/hercules_photon_transport.ows -O $HOME/Oasys/hercules_photon_transport.ows && \
wget https://github.com/oasys-esrf-kit/oasys_hercules/blob/main/2022/hercules_power_transport_optical_elements.ows -O $HOME/Oasys/hercules_power_transport_optical_elements.ows && \
wget https://github.com/oasys-esrf-kit/oasys_hercules/blob/main/2022/hercules_power_transport_sources.ows -O $HOME/Oasys/hercules_power_transport_sources.ows
RUN cd /opt/install && \
conda env update -n base --file environment.yml
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment