Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve building Java projects from source #495

Closed
maltesander opened this issue Nov 7, 2023 · 1 comment
Closed

Improve building Java projects from source #495

maltesander opened this issue Nov 7, 2023 · 1 comment

Comments

@maltesander
Copy link
Member

The PR #494 builds the HBase docker image from source.

Currently there are some fixes in place that are improvable.

Mainly:

  1. The conf.py now has a version for java-base and java which currently both point to version 11. The java-base can not be used as variable in the docker image because docker will complain. Therefore the duplication.
  2. HBase and Hadoop both are build from source, we could unify this into a java-dev image containing maven, git, gcc and all dependencies required to build java products from source.

We suggest to declare a JAVA_VERSION variable in the java-base image that can be used in images based on the java-base and/or java-dev image to get rid of the java version duplication.

Please have a look at @razvan comments in the PR, especially:

@maltesander
Copy link
Member Author

We added a java-devel image for builders and java-base for main images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant