confluentinc / confluentinc/common-docker

Why do we install both the JRE and the JDK?

Open
#521 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
10
Forks
76
Avg merge
9h 47m
Merged PRs (30d)
105

Description

I noticed that we are currently installing both the JDK and the JRE to the image:

https://github.com/confluentinc/common-docker/blob/c782a4fe3b2205ea1b8c9fd42e4cf1e3bd8b3b06/base/Dockerfile.ubi8#L103

Is there any particular reason why we need both?

Typically the JDK includes everything the JRE does plus additional build tools. It is unclear to me why we need to add both to the image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.