fgreg closed pull request #22: SDAP-123 Allow Jupyter image to configure nexus 
repo at build time.
URL: https://github.com/apache/incubator-sdap-nexus/pull/22
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docker/jupyter/Dockerfile b/docker/jupyter/Dockerfile
index 2ba2c25..cbd207c 100644
--- a/docker/jupyter/Dockerfile
+++ b/docker/jupyter/Dockerfile
@@ -27,14 +27,18 @@ RUN pip install -r /tmp/requirements.txt && \
 
 ENV CHOWN_HOME_OPTS='-R'
 ENV REBUILD_CODE=true
+
+ARG APACHE_NEXUS=https://github.com/apache/incubator-sdap-nexus.git
+ARG APACHE_NEXUS_BRANCH=master
+
 RUN mkdir -p /home/jovyan/Quickstart && \
     mkdir -p /home/jovyan/nexuscli && \
     cd /home/jovyan/nexuscli && \
     git init && \
-    git remote add -f origin https://github.com/apache/incubator-sdap-nexus && 
\
+    git remote add -f origin ${APACHE_NEXUS} && \
     git config core.sparseCheckout true && \
     echo "client" >> .git/info/sparse-checkout && \
-    git pull origin master && \
+    git pull origin ${APACHE_NEXUS_BRANCH} && \
     cd client && \
     python setup.py install
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to