openhab / openhab-docker

Repository for building Docker containers for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
209 stars 128 forks source link

Replace Zulu with Temurin JDK and prevent env var issues #394

Closed wborn closed 2 years ago

wborn commented 2 years ago

The Temurin JDK is easier to install because it supports all architectures using an APT repo. It is also more open source compared to the Zulu JDK, for building it yourself, see: https://github.com/adoptium/temurin-build

With these changes the JAVA_HOME, JAVA_VERSION, OPENHAB_VERSION environment variables are no longer exposed/used to prevent upgrade issues when the container is managed by UIs that persist all env default values like Portainer.

Closes #393