diff --git a/all-spark-notebook/Dockerfile b/all-spark-notebook/Dockerfile index 7990681..afa51d0 100644 --- a/all-spark-notebook/Dockerfile +++ b/all-spark-notebook/Dockerfile @@ -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 diff --git a/datascience-notebook/Dockerfile b/datascience-notebook/Dockerfile index d882752..3236c87 100644 --- a/datascience-notebook/Dockerfile +++ b/datascience-notebook/Dockerfile @@ -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