17417: preseed the go module cache in our package build images. This
[arvados.git] / build / package-build-dockerfiles / centos7 / Dockerfile
index 9a2ceb065a260370b6ceec6281022bf46a28e325..14a28901cb77e8ec5d9897e6a0ab50cd7d36bde8 100644 (file)
@@ -68,7 +68,9 @@ RUN git clone --depth 1 git://git.arvados.org/arvados.git /tmp/arvados && \
     cd /tmp/arvados/services/api && \
     /usr/local/rvm/bin/rvm-exec default bundle install && \
     cd /tmp/arvados/apps/workbench && \
-    /usr/local/rvm/bin/rvm-exec default bundle install
+    /usr/local/rvm/bin/rvm-exec default bundle install && \
+    cd /tmp/arvados && \
+    go mod download
 
 # The version of setuptools that comes with CentOS is way too old
 RUN pip3 install 'setuptools<45'