You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by fg...@apache.org on 2018/07/16 16:41:07 UTC
[incubator-sdap-nexus] branch master updated: SDAP-123 Allow
Jupyter image to configure nexus repo at build time. (#22)
This is an automated email from the ASF dual-hosted git repository.
fgreg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git
The following commit(s) were added to refs/heads/master by this push:
new bb037b6 SDAP-123 Allow Jupyter image to configure nexus repo at build time. (#22)
bb037b6 is described below
commit bb037b6f14a3f103aa49394bdf92df061d6becd7
Author: Joseph Jacob <jj...@users.noreply.github.com>
AuthorDate: Mon Jul 16 09:41:04 2018 -0700
SDAP-123 Allow Jupyter image to configure nexus repo at build time. (#22)
---
docker/jupyter/Dockerfile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
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