Commit Graph

12 Commits (45ad19b41766082ad757e4a4d639be5afaf00dbc)

Author SHA1 Message Date
Wouter Born 9866623665
Add snapshot download workaround, cleanup and upgrades (#299)
* 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>
2020-06-23 22:04:32 +02:00
Wouter Born 057670ce6e
Use Java 11 in OH3 images and upgrade to Alpine v3.11 (#274)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-29 14:36:22 +01:00
Wouter Born c489e2a2b0
Add 2.5.0 (#264)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-12-15 21:54:02 +01:00
Wouter Born ab1d7ea16a Update userdata using common openHAB update files (#239)
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>
2019-08-04 20:54:07 +02:00
Hakan Tandogan 005075a8a5 Allow for root operations in continuation scripts (#227)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2019-03-26 13:03:22 +01:00
Wouter Born b460365ce1 Update user/group ID and unlimited crypto documentation (#222)
* 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>
2019-01-08 00:03:21 +01:00
Wouter Born 9bb64597b8 Feram fixes (#219)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-12-24 13:33:51 +01:00
Wouter Born 6cd7f5959c Reduce image sizes, shutdown container gracefully, add 2.4.0.M7 (#212)
* 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>
2018-12-04 23:56:22 +01:00
Hakan Tandogan 73bac30cab Execute scripts in cont-initd in defined (alphabetical) order (#205)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2018-11-18 23:38:04 +01:00
Wouter Born f5dfb94506 Fix Alpine containers not starting when using unlimited cryptographic strength policy (#204)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-11-13 00:09:22 +01:00
Hakan Tandogan f739225fef Initial support for local scripts as used in s6 init (#203)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2018-11-13 00:08:06 +01:00
Wouter Born fba71d92f1 Add 2.4.0.M5 and update scripts for easier version management (#200)
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>
2018-11-07 21:41:02 +01:00