Allows for customizing the shell options used by the entrypoint script.
E.g. set it to "+x" to disable the trace logging or set it to "-v" to also print shell input lines.
Fixes#346
Signed-off-by: Wouter Born <github@maindrain.net>
* Make Dockerfiles more generic so they can be reused for all openHAB versions
* Determine version information automatically based on openhab-distro tags/branches
* Merge helper scripts into helper-functions
* Add "build" script to simplify building multiple versions or a specific distro using BuildKit
* Add GitHub Actions workflows for PR builds
Fixes#318
Signed-off-by: Wouter Born <github@maindrain.net>
* Download snapshot using Maven repository as workaround for Travis CI download issues
* Cleanup code for images that are no longer generated
* Upgrade base images (Alpine 3.12.0, Debian 10.4)
* Upgrade Zulu JDK to recent patch levels (8.0.252, 11.0.7)
Signed-off-by: Wouter Born <github@maindrain.net>
Switching to BuildKit has many advantages:
* openHAB images are now based on the official Debian and Alpine Docker images instead of the multiarch images which:
* fixes wrong architectures of non-amd64 images
* improves security because these official images are reviewed by a dedicated team sponsored by Docker
* allows for upgrading Alpine to 3.11 because of an issue the multiarch armhf image does not exist
* makes it possible to use the Debian "slim" image to further reduce the size of Debian images
* Multi architecture manifests are now generated automatically so we can remove the code for generating these and pushing them with manifest-tool
* Further reduces build times because images for different architectures are build in parallel
There is now a single Dockerfile per image instead of one for each architecture.
BuildKit does not provide a way to also generate tags containing architectures so these tags will no longer be generated.
Furthermore the Travis configuration has been updated so it will also automatically sync the README.md to Docker Hub.
Fixes#184
Signed-off-by: Wouter Born <github@maindrain.net>
* Use https in all URLs
* Use absolute URL for openHAB logo to simplify publishing to Docker Hub
* Fix broken link to missing 50-setpcap-on-java and fix wrong Java location by using JAVA_HOME
* Use enviroment variables in example scripts
* Add Loxone binding to list of add-ons that require unlimited crypto
Signed-off-by: Wouter Born <github@maindrain.net>