diff --git a/draft_images/test/Dockerfile b/draft_images/test/Dockerfile index 36d2bbb..de50061 100644 --- a/draft_images/test/Dockerfile +++ b/draft_images/test/Dockerfile @@ -4,12 +4,35 @@ RUN echo ${PATH} USER root RUN echo ${PATH} -RUN /pyrocket_scripts/install-conda-packages.sh || echo "install-conda-packages.sh failed" || true -RUN /pyrocket_scripts/install-r-package.sh || echo "install-r-package.sh failed" || true -RUN /pyrocket_scripts/install-pip-packages.sh || echo "install-pip-packages.sh failed" || true -RUN /pyrocket_scripts/install-apt-packages.sh || echo "install-apt-packages.sh failed" || true +RUN /pyrocket_scripts/install-conda-packages.sh environment.yml || echo "install-conda-packages.sh failed" || true +RUN /pyrocket_scripts/install-r-packages.sh install.R || echo "install-r-package.sh failed" || true +RUN /pyrocket_scripts/install-pip-packages.sh requirements.txt || echo "install-pip-packages.sh failed" || true +RUN /pyrocket_scripts/install-apt-packages.sh apt.txt || echo "install-apt-packages.sh failed" || true +RUN /pyrocket_scripts/install-desktop.sh || echo "setup-desktop.sh failed" || true RUN /pyrocket_scripts/run-postbuild.sh || echo "run-postbuild.sh failed" || true RUN /pyrocket_scripts/setup-start.sh || echo "setup-start.sh failed" || true -RUN /pyrocket_scripts/setup-desktop.sh || echo "setup-desktop.sh failed" || true USER ${NB_USER} +USER root +# install the geospatial libraries and R spatial; the rocket script are part of py-rocket-base +RUN PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin && \ + /rocker_scripts/install_geospatial.sh + +# Install cwutils +RUN cd /tmp && \ + wget https://www.star.nesdis.noaa.gov/socd/coastwatch/cwf/cwutils-4_0_0_198-linux-x86_64.tar.gz && \ + tar -zxf cwutils-4_0_0_198-linux-x86_64.tar.gz && \ + rm -rf cwutils-4_0_0_198-linux-x86_64.tar.gz +ENV PATH=${PATH}:/tmp/cwutils_4.0.0.198/bin +ENV MANPATH=${MANPATH}:/tmp/cwutils_4.0.0.198/doc/man +ENV INSTALL4J ADD VM PARAMS=-Dsun.java2d.uiScale=2.0 + +# Install panoply +RUN cd /tmp && \ + wget --user-agent="Mozilla/5.0" https://www.giss.nasa.gov/tools/panoply/download/PanoplyJ-5.5.4.tgz && \ + tar -zxf PanoplyJ-5.5.4.tgz && \ + rm -rf PanoplyJ-5.5.4.tgz +ENV PATH=${PATH}:/tmp/PanoplyJ + +USER ${NB_USER} +WORKDIR ${HOME} diff --git a/draft_images/test/apt.txt b/draft_images/test/apt.txt index 3a9f755..458ce60 100644 --- a/draft_images/test/apt.txt +++ b/draft_images/test/apt.txt @@ -1,5 +1,3 @@ -# Some useful stuff +# for qgis libgl1-mesa-glx -# Add some more -# or not