Make use of available environment variables

base-notebook defines environment variables for the Conda install path and the
notebook user. However, in some instances, these locations were still hardcoded.
Let’s use the variables instead.
This commit is contained in:
Sebastian Reuße
2016-06-28 11:15:24 +02:00
parent 1d398b5b1b
commit fdb247ec0c
7 changed files with 12 additions and 12 deletions

View File

@@ -39,7 +39,7 @@ ENV PYTHONPATH $SPARK_HOME/python:$SPARK_HOME/python/lib/py4j-0.9-src.zip
ENV MESOS_NATIVE_LIBRARY /usr/local/lib/libmesos.so
ENV SPARK_OPTS --driver-java-options=-Xms1024M --driver-java-options=-Xmx4096M --driver-java-options=-Dlog4j.logLevel=info
USER jovyan
USER $NB_USER
# Install Python 3 packages
RUN conda install --quiet --yes \