21718: Remove unused import
[arvados.git] / build / package-build-dockerfiles / debian12 / Dockerfile
index 738c9d946fd813b41b44f4c7e83e4de6bdd188f8..e25745565e9ba91fc8ccf3fae81b40bc9205e4d3 100644 (file)
@@ -71,15 +71,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 8"
 
-# 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