You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2021/09/20 08:39:30 UTC

[GitHub] [drill] dzamo opened a new pull request #2318: DRILL-8001: Replace JRE docker images with JDK counterparts.

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



[GitHub] [drill] dzamo merged pull request #2318: DRILL-8001: Replace JRE docker images with JDK counterparts.

Posted by GitBox <gi...@apache.org>.
dzamo merged pull request #2318:
URL: https://github.com/apache/drill/pull/2318


   


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