You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by GitBox <gi...@apache.org> on 2021/06/02 08:08:12 UTC

[GitHub] [nutch] sebastian-nagel commented on pull request #647: NUTCH-2864 Upgrade Dockerfile to use JDK 11

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