Skip to content

Commit

Permalink
Merge pull request #20 from ministryofjustice/conda_fix
Browse files Browse the repository at this point in the history
Fix Conda permissions
  • Loading branch information
r4vi authored Dec 21, 2018
2 parents 371d8b9 + 6313a71 commit 9e57049
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions all-spark-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ RUN conda install boto3 \
&& pip install git+https://github.com/moj-analytical-services/gluejobutils/#egg=gluejobutils \
&& mv /tmp/hdfs-site.xml /usr/local/spark/conf \
&& apt-get update && apt-get install -y $(cat /tmp/apt_packages)

RUN chown -R $NB_UID /opt/conda
3 changes: 3 additions & 0 deletions datascience-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ COPY ./files/apt_packages /tmp/

RUN conda install boto3 \
&& apt-get update && apt-get install -y $(cat /tmp/apt_packages)

# Fix conda install for NB_UID
RUN chown -R $NB_UID /opt/conda

0 comments on commit 9e57049

Please sign in to comment.