21700: Remove `bundle install` from package build Dockerfiles
[arvados.git] / build / package-build-dockerfiles / ubuntu2004 / Dockerfile
index c7c9bb791d2294cca3d4c90d9098c7ba6ca819ec..dc57c8c03fdc315d85d7d3579f6c5ba40226760b 100644 (file)
@@ -82,15 +82,10 @@ RUN echo "gem: --no-document" >> ~/.gemrc && \
 # Cf. https://build.betterup.com/one-weird-trick-that-will-speed-up-your-bundle-install/
 ENV MAKE "make --jobs $(grep -c processor /proc/cpuinfo)"
 
-# Preseed the go module cache and the ruby gems, using the currently checked
-# out branch of the source tree. This avoids potential compatibility issues
-# between the version of Ruby and certain gems.
+# Preseed the go module cache.
 RUN git clone git://git.arvados.org/arvados.git /tmp/arvados && \
     cd /tmp/arvados && \
     if [[ -n "${BRANCH}" ]]; then git checkout ${BRANCH}; fi && \
-    cd /tmp/arvados/services/api && \
-    bundle install && \
-    cd /tmp/arvados && \
     go mod download
 
 ENV WORKSPACE /arvados