You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/20 08:40:00 UTC

[jira] [Commented] (DRILL-8001) Some new Docker images are based on OpenJDK JRE images but full JDK is required

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

ASF GitHub Bot commented on DRILL-8001:
---------------------------------------

dzamo opened a new pull request #2318:
URL: https://github.com/apache/drill/pull/2318


   # [DRILL-8001](https://issues.apache.org/jira/browse/DRILL-8001): Replace JRE docker images with JDK counterparts.
   
   ## Description
   
   Drill requires the Java compiler from the full JDK at runtime so we need to change the base OpenJDK images used accordingly.
   
   ## Documentation
   N/A
   
   ## Testing
   
   I rented a VM for testing this time and tested each image from building from a clean clone through to running a SQL query in Drill.
   
   ```
   podman build \
           --build-arg BUILD_BASE_IMAGE=maven:3.8.2-openjdk-8 \
           --build-arg BASE_IMAGE=openjdk:8 \
           -t apache/drill-openjdk-8 .
   
   podman run --rm -it localhost/apache/drill-openjdk-8
   
   select * from cp.`employee.json`;
   
   podman build \
           --build-arg BUILD_BASE_IMAGE=maven:3.8.2-openjdk-11 \
           --build-arg BASE_IMAGE=openjdk:11 \
           -t apache/drill-openjdk-11 .
   
   podman run --rm -it localhost/apache/drill-openjdk-11
   
   select * from cp.`employee.json`;
   
   podman build \
           --build-arg BUILD_BASE_IMAGE=maven:3.8.2-openjdk-11 \
           --build-arg BASE_IMAGE=openjdk:14 \
           -t apache/drill-openjdk-14.
   
   podman run --rm -it localhost/apache/drill-openjdk-14
   
   select * from cp.`employee.json`;
   ```


-- 
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: dev-unsubscribe@drill.apache.org

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


> Some new Docker images are based on OpenJDK JRE images but full JDK is required
> -------------------------------------------------------------------------------
>
>                 Key: DRILL-8001
>                 URL: https://issues.apache.org/jira/browse/DRILL-8001
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build &amp; Test
>    Affects Versions: 1.20.0
>            Reporter: James Turton
>            Assignee: James Turton
>            Priority: Major
>             Fix For: 1.20.0
>
>
> Drill requires the Java compiler from the full JDK at runtime so we need to change the base OpenJDK images used accordingly.



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