* 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>
Reworks the update process to update the userdata in the container using the update.lst and userdata_sysfiles.lst files (provided by openhab-distro).
The update script has been modified for use in the container.
This adds the following new functionality when updating between versions:
* show update notes and warnings during the update (based on update.lst)
* execute the update pre/post commands (based on update.lst)
* replace userdata system files with newer versions (based on userdata_sysfiles.lst)
* update KAR files in addons dir by downloading newer versions
* log the update output in update.log
Other improvements are:
* declare and use common openHAB environment variables in scripts (OPENHAB_BACKUPS, OPENHAB_CONF, OPENHAB_HOME, OPENHAB_LOGDIR, OPENHAB_USERDATA)
* initialize empty volumes using a reusable method
* move all default volume data into the "dist" directory
* remove Windows PowerShell scripts from container images
Signed-off-by: Wouter Born <github@maindrain.net>
* Update user/group ID and unlimited crypto documentation
Signed-off-by: Wouter Born <eclipse@maindrain.net>
* Rename existing group matching GROUP_ID environment variable to openhab
Signed-off-by: Wouter Born <eclipse@maindrain.net>
* Reduce image sizes
* Cleanup APT and APK caches in same layers where they are generated
* Remove unused build dependencies dpkg, gnupg
* Remove unused Windows batch files
* Indent package installation command arguments for better readability
* Fix shutdown container gracefully
* Add tini to Alpine and Debian images
* Add KARAF_EXEC=exec to environment so java replaces bash shell after running start.sh
* Start runtime using tini as signal forwarder and process subreaper
Fixes#211
Signed-off-by: Wouter Born <eclipse@maindrain.net>
* Add 2.4.0.M7
Signed-off-by: Wouter Born <eclipse@maindrain.net>
Versions for which Docker images are generated are now managed in a versions file.
The update.sh scripts now:
* calls update-docker-files.sh for generating Dockerfiles based on the versions
* calls update-travis-config.sh to generate .travis.yml based on the versions
* calls update-readme.sh to update versions specific content in the README.md file
Furthermore:
* When a new stable release is added to the versions file the old milestone and snapshot builds are automatically removed from the build and the new snapshot is added.
* The unused i386 images have been removed.
* Only builds for the last 3 milestone versions are generated.
Signed-off-by: Wouter Born <eclipse@maindrain.net>