kou commented on code in PR #33714:
URL: https://github.com/apache/arrow/pull/33714#discussion_r1121278950


##########
ci/docker/conda-python-spark.dockerfile:
##########
@@ -23,11 +23,16 @@ FROM ${repo}:${arch}-conda-python-${python}
 ARG jdk=8
 ARG maven=3.5
 
+ARG numpy=latest
+COPY ci/scripts/install_numpy.sh /arrow/ci/scripts/
+
 RUN mamba install -q -y \
         openjdk=${jdk} \
         maven=${maven} \
         pandas && \
     mamba clean --all
+RUN mamba uninstall -q -y numpy && \

Review Comment:
   How about concatenating these commands to reduce intermediate Docker image?
   
   ```suggestion
       mamba clean --all && \
       mamba uninstall -q -y numpy && \
   ```



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to