Commit db78e801 authored by Ryan Berkheimer's avatar Ryan Berkheimer
Browse files

Updated Dockerfile.demo - now working with python3 jupyter notebook.

parent 905ab19f
Pipeline #5986 failed with stage
in 0 seconds
......@@ -8,7 +8,7 @@ FROM
#Install standard RHEL7 tools
RUN yum -y install --disableplugin=subscription-manager \
rh-python36 vim wget git java-11-openjdk-devel gcc gcc-gfortran gcc-c++ make \
vim wget git java-11-openjdk-devel gcc gcc-gfortran gcc-c++ make \
&& yum --disableplugin=subscription-manager clean all
#Install Java Variables
......@@ -27,6 +27,14 @@ ARG workdir=/home/${user}
RUN useradd ${user}
WORKDIR ${workdir}
#Install python3 via miniconda for jupyter notebook use
RUN wget -O
RUN chmod 755
RUN /bin/bash -b -p ${workdir}/miniconda
#Install Jupyter Notebook via Conda
RUN cd ${workdir}/miniconda/bin && ./conda install -y jupyter
#Retrieve the installation script to the user's home directory and set permissions for execution
RUN wget \
--no-check-certificate -O
......@@ -39,10 +47,13 @@ USER ${user}
#Set PATH and other user variables in bashrc
RUN cd $(dirname $(readlink -f $(which java))) && cd .. \
&& export JAVA_HOME=$PWD \
&& echo "PATH=${JAVA_HOME}/bin:\$PATH" >> ~/.bashrc \
&& echo "export PATH=${JAVA_HOME}/bin:\$PATH" >> ~/.bashrc \
&& source ~/.bashrc
#Install the Java core plus C/CPP API wrappers from install script
RUN echo "${PWD}"
RUN ./ "C_CPP"
RUN rm
#Add python vars to path
RUN echo "export PATH=${workdir}/miniconda/bin:\$PATH" >> ~/.bashrc
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment