You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/04/06 13:10:25 UTC

[GitHub] [arrow] kszucs commented on a change in pull request #9905: ARROW-12228: [CI] Create base image for conda environments

kszucs commented on a change in pull request #9905:
URL: https://github.com/apache/arrow/pull/9905#discussion_r607834153



##########
File path: docker-compose.yml
##########
@@ -160,10 +161,31 @@ services:
   #     -e ARROW_TEST_LINKAGE=static \
   #     conda-cpp|debian-cpp|...
 
+  conda:
+    # Base image for conda builds.
+    #
+    # Usage:
+    #   docker-compose build con
+    #   docker-compose run --rm conda
+    # Parameters:
+    #   ARCH: amd64, arm32v7
+    image: ${REPO}:${ARCH}-conda
+    build:
+      context: .
+      dockerfile: ci/docker/conda.dockerfile
+      cache_from:
+        - ${REPO}:${ARCH}-conda
+      args:
+        arch: ${ARCH}
+        prefix: /opt/conda
+    volumes:
+      - .:/arrow:delegated
+
   conda-cpp:
     # C++ build in conda environment, including the doxygen docs.
     #
     # Usage:
+    #   docker-compose build conda

Review comment:
       We should remove these instructions in favor of using `archery docker` command.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org