[ 
https://issues.apache.org/jira/browse/NUTCH-2864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17355554#comment-17355554
 ] 

ASF GitHub Bot commented on NUTCH-2864:
---------------------------------------

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


> Upgrade Dockerfile to use JDK 11
> --------------------------------
>
>                 Key: NUTCH-2864
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2864
>             Project: Nutch
>          Issue Type: Improvement
>          Components: build, docker
>    Affects Versions: 1.19
>            Reporter: Sebastian Nagel
>            Assignee: Lewis John McGibbney
>            Priority: Major
>             Fix For: 1.19
>
>
> With NUTCH-2857 the Nutch Dockerfile needs to be update to use JDK 11 and a 
> more recent base image.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to