Skip to content

Commit 2886aef

Browse files
authored
Merge pull request #97 from nmfs-opensci/oceanhackweek-esp
use /tmp instead of /tmp2
2 parents 18b3f30 + f74ba96 commit 2886aef

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

images/py-rocket-oceanhw-esp/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ ENV PROJ_LIB=/srv/conda/envs/notebook/share/proj
1111

1212
USER root
1313

14-
COPY . /tmp2/
14+
# install-conda changes to jovyan as user. If there are any pip installs in the env.yaml, mamba needs write access. /tmp is writeable
15+
COPY . /tmp/
1516
RUN /pyrocket_scripts/install-conda-packages.sh /tmp2/environment.yml || echo "install-conda-packages.sh failed" || true
1617
RUN /pyrocket_scripts/install-apt-packages.sh /tmp2/apt.txt || echo "install-apt-packages.sh failed" || true
1718
RUN /pyrocket_scripts/install-desktop.sh /tmp2/Desktop|| echo "setup-desktop.sh failed" || true
18-
RUN rm -rf /tmp2
19+
RUN rm -rf /tmp/*
1920

2021
USER root
2122
# install the geospatial libraries and R spatial; the rocket script are part of py-rocket-base

0 commit comments

Comments
 (0)