[ARVADOS] created: c02c1e681c55a2b45531c1524c3c1c181439f6e8

Git user git at public.curoverse.com
Thu Jun 30 17:46:00 EDT 2016


        at  c02c1e681c55a2b45531c1524c3c1c181439f6e8 (commit)


commit c02c1e681c55a2b45531c1524c3c1c181439f6e8
Author: Brett Smith <brett at curoverse.com>
Date:   Thu Jun 30 17:45:12 2016 -0400

    9459: arvbox-demo accepts version arguments for Git checkouts.

diff --git a/tools/arvbox/lib/arvbox/docker/Dockerfile.demo b/tools/arvbox/lib/arvbox/docker/Dockerfile.demo
index a04c06d..57105ea 100644
--- a/tools/arvbox/lib/arvbox/docker/Dockerfile.demo
+++ b/tools/arvbox/lib/arvbox/docker/Dockerfile.demo
@@ -1,8 +1,12 @@
 FROM arvados/arvbox-base
+ARG arvados_version=master
+ARG sso_version=master
 
 RUN cd /usr/src && \
-    git clone https://github.com/curoverse/arvados.git && \
-    git clone https://github.com/curoverse/sso-devise-omniauth-provider.git sso
+    git clone --no-checkout https://github.com/curoverse/arvados.git && \
+    git -C arvados checkout ${arvados_version} && \
+    git clone --no-checkout https://github.com/curoverse/sso-devise-omniauth-provider.git sso && \
+    git -C sso checkout ${sso_version}
 
 ADD service/ /var/lib/arvbox/service
 RUN rmdir /etc/service && ln -sf /var/lib/arvbox/service /etc

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list