sebastian-nagel commented on pull request #647:
URL: https://github.com/apache/nutch/pull/647#issuecomment-852833648


   1. install the apk package `bash` - it's not worth to fix the scripts to 
save 10 MiB in the Docker image size
   2. (just tried it) the image size is reduced to 1.27 GiB by changing the 
Nutch build comman list:
      ```
      # Checkout and build the Nutch master branch (1.x),
      # then do some clean up to reduce the image size
      RUN git clone https://github.com/apache/nutch.git nutch_source && \
           cd nutch_source && \
           ant runtime && \
           rm -rf build/ && \
           rm -rf /root/.ivy2/
      ```


-- 
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:
us...@infra.apache.org


Reply via email to