Commit Graph

245 Commits (main)

Author SHA1 Message Date
openhab-bot e779df9929 [ci skip] Update openHAB versions in README.md
Jenkins build 2351
2021-11-07 22:23:03 +00:00
openhab-bot 93415ef1f8 [ci skip] Update openHAB versions in README.md
Jenkins build 2305
2021-10-03 16:40:32 +00:00
openhab-bot 4275a89e30 [ci skip] Update openHAB versions in README.md
Jenkins build 2271
2021-09-06 00:31:57 +00:00
Wouter Born ff9f3213e2
Upgrade Zulu JDK and base images (#365)
Updates:

* Zulu JDK to 11.0.12
* Alpine to 3.14.2
* Debian to 10.10

Signed-off-by: Wouter Born <github@maindrain.net>
2021-08-31 23:53:38 +02:00
Wouter Born 60421f3d00
Fix broken badges (#364)
MicroBadger shutdown on July 1st, 2021.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-08-31 19:23:53 +02:00
openhab-bot 514e4a310c [ci skip] Update openHAB versions in README.md
Jenkins build 2245
2021-08-01 13:24:07 +00:00
openhab-bot 55b225be76 [ci skip] Update openHAB versions in README.md
Jenkins build 2229
2021-06-28 14:47:07 +00:00
openhab-bot 127236a448 [ci skip] Update openHAB versions in README.md
Jenkins build 2226
2021-06-27 20:43:37 +00:00
openhab-bot 21d7c570b0 [ci skip] Update openHAB versions in README.md
Jenkins build 2219
2021-06-25 15:03:32 +00:00
openhab-bot a077e09c22 [ci skip] Update openHAB versions in README.md
Jenkins build 2188
2021-05-30 15:52:55 +00:00
Wouter Born b96cb8a4bc
Add EXTRA_SHELL_OPTS environment variable (#359)
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>
2021-05-15 23:38:40 +02:00
openhab-bot c246bafd25 [ci skip] Update openHAB versions in README.md
Jenkins build 2138
2021-05-02 16:32:22 +00:00
openhab-bot d4bc2cfb57 [ci skip] Update openHAB versions in README.md
Jenkins build 2114
2021-04-21 12:56:14 +00:00
openhab-bot 8e1e2767fc [ci skip] Update openHAB versions in README.md
Jenkins build 2079
2021-04-01 16:24:27 +00:00
openhab-bot 4b021c7f6c [ci skip] Update openHAB versions in README.md
Jenkins build 2005
2021-02-28 13:35:33 +00:00
Wouter Born 3af592ffc8
Upgrade Zulu JDKs and base images (#352)
Updates:

* Zulu JDKs to 8.0.282, 11.0.10
* Alpine to 3.13.1
* Debian to 10.8

Signed-off-by: Wouter Born <github@maindrain.net>
2021-02-15 23:01:03 +01:00
openhab-bot 01f747e7f8 [ci skip] Update openHAB versions in README.md
Jenkins build 1946
2021-01-31 16:40:39 +00:00
openhab-bot 75d0fffe85 [ci skip] Update openHAB versions in README.md
Jenkins build 1935
2021-01-27 21:39:53 +00:00
openhab-bot fbf74643dc [ci skip] Update openHAB versions in README.md
Jenkins build 1929
2021-01-26 18:21:39 +00:00
Wouter Born d17aaceba7
Update workflow and documentation for renamed branch (#342)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-14 12:26:08 +01:00
openhab-bot d6438b4bbd [ci skip] Update openHAB versions in README.md
Jenkins build 1895
2021-01-13 09:19:01 +00:00
openhab-bot cbc78af357 [ci skip] Update openHAB versions in README.md
Jenkins build 1874
2021-01-07 05:18:41 +00:00
openhab-bot 58591148cc [ci skip] Update openHAB versions in README.md
Jenkins build 1859
2021-01-01 22:33:51 +00:00
Wouter Born 69b2534052
Rework build scripts (#336)
* 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>
2021-01-01 16:00:25 +01:00
Wouter Born a3aabf1853
Cleanup repo and README.md (#334)
* Remove unused files and duplicated content
* Remove contrib file content from README.md to prevent reaching Docker Hub 25K limit
* Reference Docker platforms instead of architectures
* Add CODEOWNERS file

Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-24 00:35:53 +01:00
Wouter Born 7c681587ea
Add 3.0.0 (#332)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-20 22:35:40 +01:00
Wouter Born c1819413ca
Add 3.0.0.RC2 (#331)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-19 12:39:26 +01:00
Wouter Born 4ff8a8fc4e
Add OH3 console logger configuration to README.md (#329)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-16 12:48:36 +01:00
Wouter Born d9373fe7f4
Add 3.0.0.RC1 (#326)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-14 17:55:17 +01:00
Wouter Born bc87464223
Add 2.5.10 (#324)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-13 18:36:51 +01:00
Wouter Born 343a453c97
Remove Travis CI config (#321)
Related to #318

Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-12 11:12:58 +01:00
Wouter Born e6263afab3
Add 3.0.0.M5 (#320)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-06 16:51:57 +01:00
Wouter Born b2c8ee9763
Add 3.0.0.M4 (#319)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-11-29 18:33:06 +01:00
Wouter Born c8704e1f28
Add 3.0.0.M3 (#317)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-11-22 17:34:36 +01:00
Wouter Born 0bd17ec57a
Add 3.0.0.M2 (#314)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-11-02 20:01:47 +01:00
Wouter Born 34b0e4939f
Add 2.5.10 (#313)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-10-25 20:11:25 +01:00
Wouter Born db5636bfe2
Add 3.0.0.M1 (#311)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-10-11 22:16:43 +02:00
Wouter Born e167de686e
Add 2.5.9 (#310)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-20 19:49:33 +02:00
Wouter Born f16a4ea590
Add 2.5.8 (#304)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-08-23 17:14:54 +02:00
Wouter Born 451f711007
Add 2.5.7 (#301)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-07-23 22:15:08 +02:00
Wouter Born 73fcf71e10
Update links to travis-ci.com
Signed-off-by: Wouter Born <github@maindrain.net>
2020-06-23 23:15:59 +02:00
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 2c12f3d3de
Add 2.5.6 and reduce build versions (#298)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-06-21 18:40:37 +02:00
Wouter Born 9d6e8463bb
Add 2.5.5 (#294)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-05-18 07:40:27 +02:00
Wouter Born df45177727
Build images using Docker CE 19.03 and BuildKit (#293)
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>
2020-05-05 22:57:14 +02:00
Wouter Born 1e5d325eef
Make sure README.md does not exceed 25k char limit of Docker Hub (#291)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-04-19 19:25:28 +02:00
Wouter Born a227b6ab77
Add 2.5.4 (#290)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-04-19 16:11:33 +02:00
Wouter Born dad7461fb3
Add "Common Problems" section to README.md (#289)
Fixes #267
Fixes #270
Fixes #275

Signed-off-by: Wouter Born <github@maindrain.net>
2020-04-19 12:15:27 +02:00
Lars a6c23ff1af
Improve README.md (#288)
Signed-off-by: Lars Schroeder <github@schroeders.digital>
2020-04-19 12:06:08 +02:00
Wouter Born 7c14267852
Remove OH3 Alpine armhf image (#285)
There is no openjdk11 package for armhf on alpine.

See #281

Signed-off-by: Wouter Born <github@maindrain.net>
2020-03-20 23:34:29 +01:00
Wouter Born dcc94ded04
Add 2.5.3 (#284)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-03-19 18:11:21 +01:00
Wouter Born 542591029e
Improve documentation and contrib scripts (#283)
* 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>
2020-02-22 11:23:22 +01:00
Wouter Born 137e07fbde
Add 2.5.2 (#282)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-02-20 10:47:08 +01:00
Wouter Born 4c5ed6f49f
Downgrade to Alpine v3.10, fail build when commands fail (#280)
The Alpine v3.11 armhf image is missing, see https://github.com/multiarch/alpine/issues/30.

Signed-off-by: Wouter Born <github@maindrain.net>
2020-02-16 19:07:03 +01:00
Wouter Born c204098dfa
Add 2.5.2-SNAPSHOT image (#278)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-02-15 18:23:30 +01: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 60e02f3f7c
Add 2.5.1 (#271)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-12 23:35:16 +01:00
Wouter Born 7da67cc6da
Add Bountysource badge
Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-04 18:55:39 +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 23fe375e71
Add 2.5.0.RC1 (#262)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-12-09 23:54:03 +01:00
Wouter Born b459eac7d5
Add 2.5.0.M6 (#259)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-12-01 15:18:56 +01:00
Wouter Born 07b8c5b879
Add 2.5.0.M5 (#257)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-11-17 12:29:59 +01:00
Wouter Born 6599de7dd8
Add 2.5.0.M4 (#251)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-20 01:09:51 +02:00
Wouter Born dfa27163ad
Add 2.5.0.M3 (#247)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-09-07 10:51:15 +02:00
Christian Häussler f9e8deae5f Add codefactor badget (#244) 2019-08-12 21:51:19 +02:00
Wouter Born bc195b8957 Revert "Add copilot (#237)" (#243)
This reverts commit d513924c0c.
2019-08-12 21:17:06 +02:00
Christian Häussler d513924c0c
Add copilot (#237)
* Add copilot

Signed-off-by: cniweb <c-n-i@web.de>
2019-08-11 22:56:34 +02:00
Wouter Born 36561e736b
Fix documentation hierarchy (#242)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-08-11 11:55:38 +02:00
Wouter Born f361f5cdba
Add Windows and macOS documentation (#241)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-08-11 11:15:38 +02:00
Wouter Born ad41ae6eb2 Add 2.5.0.M2 and minor improvements (#240)
* Add 2.5.0.M2
* Push images on master branch only
* Use --password-stdin option with docker login
* Add default GROUP_ID, USER_ID values to environment variables for easy overrides in certain UIs
* Remove uidmap, img installation because these commands are unused
* Configure Travis CI xenial dist
* Fix CodeFactor issues

Signed-off-by: Wouter Born <github@maindrain.net>
2019-08-09 13:06:17 +02: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
Wouter Born c62e999c17 Update Alpine images to v3.10 (#238)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-08-01 21:49:54 +02:00
Wouter Born 8d7a642351
Add Debian version number and RPi 4
Signed-off-by: Wouter Born <github@maindrain.net>
2019-07-31 22:51:24 +02:00
Wouter Born c39c439b86 Update debian to 10 (buster) and Zulu JDK to 1.8.0_222 (#236)
* Updates the OS in the Debian container to Debian 10 (buster) which is the current stable Debian release (see https://www.debian.org/News/2019/20190706)
* Updates the Zulu JDK inside the container to 1.8.0_222.

Signed-off-by: Wouter Born <github@maindrain.net>
2019-07-31 00:54:19 +02:00
Wouter Born 5fb62dd4b3
Update Alpine to 3.9 in README and some minor improvements (#231)
* Updates the documentation for the Alpine 3.9 upgrade
* Fix capitalization of Alpine, Debian, Docker, Java
* Fix typos

Signed-off-by: Wouter Born <github@maindrain.net>
2019-03-26 19:19:37 +01: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 a7da3c554e Add 2.5.0.M1 (#225)
* Changed license from EPL v1 to EPL v2
* updated LICENSE file
* updated container labels
* updated README.md
* Add 2.5.0.M1
2019-01-30 21:08:07 +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 f6fc442306 Use Zulu 64-bit JVM in arm64 Debian images, add 2.4.0, 2.5.0-snapshot (#218)
* Use Zulu 64-bit JVM in arm64 Debian images

The armhf images also work on arm64 so these can still be used when performance is an issue on hardware constrained devices.

* Fix charts not working on arm64 because 32-bit JVM doesn't work with fontconfig:arm64
* Reduce image size because armhf architecture and libc6:armhf fontconfig:armhf don't need to be installed
* Prevent QEMU issues because it has trouble executing 32-bit binaries in 64-bit mode when building images
* Make the image more similar to the Alpine image which also uses a 64-bit OpenJDK JVM
* Update Zulu download URLs to download 1.8.0_192
* Update README example to also use tini when openHAB is started as root.

Fixes #152

Signed-off-by: Wouter Born <eclipse@maindrain.net>

* Add 2.4.0.RC1, 2.4.0, 2.5.0-snapshot, generate README.md without using markers

Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-12-17 11:40:52 +01:00
Hakan Tandogan f2a7cb0627 Example for setting up openHAB cloud (#216)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2018-12-11 20:15:16 +01:00
Wouter Born a3f5035a63 Add 2.4.0.M8 (#217)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-12-10 22:06:37 +01:00
Wouter Born 497bc583ee Use multi architecture image manifests (#213)
* Use multi architecture image manifests

Additionaly several new tags have been added to multi-architecture images.

The complete list of tags is now:

openhab/openhab:<version>
openhab/openhab:<version>-<distribution>
openhab/openhab:<version>-<architecture>-<distribution>
openhab/openhab:latest
openhab/openhab:latest-<distribution>
openhab/openhab:milestone
openhab/openhab:milestone-<distribution>
openhab/openhab:snapshot
openhab/openhab:snapshot-<distribution>

* Fix Codacy issues

* Fix CodeFactor issues

Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-12-06 21:40: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
Christian Häussler c126200907
Allow docker push only from master branch (#207)
* Remove issuestats badget

Signed-off-by: cniweb <c-n-i@web.de>
2018-11-23 00:27:54 +01:00
Wouter Born 5351b257a4 Add 2.4.0.M6 (#209)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-11-20 06:34:01 +01:00
Hakan Tandogan f27856a4b5 Documentation and examples for the s6 init continuation scripts (#206)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2018-11-18 23:36:30 +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
Christian Häussler 20ebcf2737
Add M4 milestone (#196)
* Add M4 milestonebuild

* Fix run update.sh for travis

* Add version 2.4.0.M4 to update.sh

* Add version 2.4.0.M4 to readme

* Fix EXPOSE for version 2.4.*
2018-10-03 23:36:33 +02:00
Christian Häussler 8e5b373cde
Milestonebuilds (#193)
* Fix #192

* Add milestonebuilds to the matrix in .travis.yml

* Update README for 2.4.0.M3 version

Signed-off-by: cniweb <c-n-i@web.de>
2018-09-15 16:26:16 +02:00
Elias H 3ab9fff2da Update README.md to fix Issue #190 (#191)
added missing chars and added extra docker-compose.yml example for use for docker volumes instead of local directories
2018-08-27 20:56:48 +02:00
Ilkka Tengvall abb88a75cb Provide example playbook for Ansible in README (#186)
* Provide example playbook for Ansible in README

Ansible is more and more used to automatise server setups. I control all my boxes with it, and thought I might as well contribute my playbook running OpenHAB container with it. It could be enhanced to role, but this serves basic openhab run.

* Adding TOC entry for ansible chapter

* Changed Helsinki -> Berlin

Changed timezone cities to be aligned with the other README documentation.
2018-07-30 21:31:18 +02:00
Ilkka Tengvall 51a05d9e8b correct timezone for containers (#185)
* correct timezone for containers

I spent some time last night wondering why my rules execute in UTC time instead of local time. Then I found the solution, and it would be nice if you could add the info on the README, as it already instructs how to set system time. Which is not enough to set it for Java. So perhaps this line could be addded:

        -e "EXTRA_JAVA_OPTS=-Duser.timezone=Europe/YourTZCity" \

Which then sets the Java to run in correct timezone, and rules work in correct times along with properly timed logs.

* YourTZCity to Berlin to allow copy paste trying

As agreed in PR comments.
2018-07-30 21:30:18 +02:00
Wouter Born 4d48742d21 Upgrade to Alpine v3.8 (#183)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-06-29 00:10:32 +02:00
Wouter Born 25338d217f Remove TTY from Travis config, update README.md and some other improvements (#182)
* Update Travis build configuration
    * Remove --tty option from run command because it is no longer required
    * Remove group: deprecated-2017Q2 because it is no longer a requirement for succesful builds

* Update README.md
    * Update Table of Contents
    * Document startup modes and how to configure a console logger in server mode
    * Remove unnecessary backticks and spaces
    * Remove tty configuration from applicable commands/docker-compose examples because a TTY is no longer required
    * Put each sentence on its own line which makes it easier for reviewing future changes
    * Document how to build images for other architectures
    * Add new lines before/after headers, lists and code blocks which fixes issues with some Markdown editors and renderers

Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-06-27 22:28:46 +02:00
Wouter Born db6714360b Add 2.3.0 and 2.4.0-snapshot versions (#172)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-05-28 13:39:53 +02:00
Wouter Born 1093bca26f Update documentation links (#171)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-05-27 03:05:56 +02:00
Wouter Born 90e655269b Port exposal improvements (#157)
* Expose specific ports per version
* Correct Console port from 5555 to 8101
* Expose LSP port 5007
* Improve documentation

Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-01-14 14:03:44 +01:00
Wouter Born 754efa9ad0 Upgrade to Debian Stretch and cleanup images (#156)
* Upgrade to Debian Stretch and cleanup images

* Install dirmngr and gnupg during Debian build to be able to validate GPG signatures

* Try multiple GPG key servers because build now fails when retrieval fails and ha.pool.sks-keyservers.net is not that reliable

* Cleanup packages/files that are only required for building containers (dirmngr, dpkg, gnupg)

* Exclude src.zip, demo and example directories when extracting Zulu to reduce Debian container size

* Process review comments

* Use --no-cache with all apk commands

* Use --virtual build-dependencies with Alpine build

* Sort installed packages lists

Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-01-14 11:14:25 +01:00
Richard Koshak e060393d36 Added an Upgrading section to the README (#155)
* Added an Upgrading section to the README

Added a section to the README to descript what happens when a container detects the Image version of OH differs from the mapped in userdata folder's version.

Signed off by Richard Koshak rlkoshak@gmail.com
2018-01-12 20:47:23 +01:00
Wouter Born afe74fbb6f Make Java cryptographic strength configurable (#154)
* Make Java cryptographic strength configurable

* Use limited strength in debian and alpine containers by default
* Add CRYPTO_POLICY environment variable to install unlimited strength on first start when value is set to "unlimited"
* Update documentation

Fixes #118

Signed-off-by: Wouter Born <eclipse@maindrain.net>

* Remove redundant update and rm from Alpine entrypoint.sh

Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-01-12 20:46:37 +01:00
axxelG d0b96ca92c Added /debian into broken links (#151)
Fixes #150
2017-12-30 10:33:06 +01:00
Chill3x 5bdb843a1b changed config option 'net' to 'network_mode' (#145)
* changed config option 'net' to 'network_mode'
2017-12-28 21:25:02 +01:00
Christian Häussler be3e88cfaf
Add docker attach (#137)
* Add docker attach
Fix #133

Signed-off-by: Christian Häussler <c-n-i@web.de>
2017-12-20 23:12:24 +01:00
Christian Häussler cd2daf29a0
Supplement readme (#135)
* Switch to back to alpine v3.6
Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)

Signed-off-by: Christian Häussler <c-n-i@web.de>

* Switch back to alpine v3.6
Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)

Signed-off-by: Christian Häussler <c-n-i@web.de>

* Merge pull request #1 from openhab/master

Update from master

* Merge remote-tracking branch 'refs/remotes/openhab/master'

* Add warning for Alpine image users
Fix #130

Signed-off-by: Christian Häussler <c-n-i@web.de>
2017-12-20 22:02:56 +01:00
Christian Häussler d651af1a64
Switch back to alpine v3.6 (#131)
* Switch to back to alpine v3.6
Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)
Fix #132
2017-12-19 15:36:21 +01:00
Christian Häussler 44d6f52368
Change openHAB2 naming to openHAB (#124)
Signed-off-by: Christian Häussler <c-n-i@web.de>
2017-11-17 14:12:07 +01:00
Christian Häussler ba3d7e0033 Remove known alpine issue
Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)
2017-10-22 23:05:35 +02:00
Christian Häussler 3a28795dec Docker image based on Alpine Linux (#107)
* Update README to Version 2.1.0

* Add Version 2.1.0 and 2.2.0-snapshot

* Update entrypoint.sh (#94) (#1)

* Echo actual `NEW_USER_ID`, instead of hardcoded/default id=9001.

* Remove Version 2.2.0-snapshot and add 2.1.0-snapshot

* Fix sudo enabled environment for travis

* RUN chmod +x on entrypoint.sh within Dockerfile to fix permission issue

* Add version 2.2.0-snapshot

* Add MAINTAINER section

* Docker image based on Alpine Linux #99

* Add alpine as base image and new architecture

* Add alpine as base image in TravisCI build

* Fix CMD in Dockerfiles

* Openhab GROUP_ID can now be set via variable at container creation time

* Fix #104

* Add shadow package for alpine

* Change entrypoint.sh

* Fix entrypoint.sh for alpine and version 1.8.3

* Add generated entrypoint.sh

*  Update readme for new alpine docker images
2017-10-12 00:12:39 +02:00
Tim Sedlmeyer 81906ef02f Openhab GROUP_ID can now be set via variable at container creation time. (#104) 2017-09-14 22:56:19 +02:00
Dominik Krickl-Vorreiter 645e59a120 Clarify user configuration (#106) 2017-09-14 21:01:38 +02:00
Martin van Wingerden 1a4920cd83 Add tty true for compatibility with the openHAB 2.2 (#103)
Add tty true to make sure the example is compatible with version 2.2 of openHAB

Fixes #102

Signed-off-by: Martin van Wingerden <martinvw@mtin.nl>
2017-09-14 16:13:36 +02:00
Christian Häussler e566484125 Add Docker Banner
Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)
2017-07-25 13:43:01 +02:00
Christian Häussler 9fa5fe1afc Add MAINTAINER section (#98)
* Add MAINTAINER section
2017-06-29 23:36:53 +02:00
Christian Häussler f53a1fcc08 Add version 2.2.0-snapshot (#97)
* Add version 2.2.0-snapshot
2017-06-29 22:47:07 +02:00
Christian Häussler ece744c958 Add Version 2.1.0 (#96)
* Add 2.1.0 and 2.2.0-SNAPSHOT Versions

* Update README to Version 2.1.0

* Echo actual `NEW_USER_ID`, instead of hardcoded/default id=9001.

* Fix sudo enabled environment for travis

* RUN chmod +x on entrypoint.sh within Dockerfile to fix permission issue

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)
2017-06-28 23:39:27 +02:00
legacycode 55c1dc134f documentation rework (#81)
We do not need manually copy the folders from the image to the mounted volume, because this is done by the entrypoint.sh script now.

Since we have no other solution for libpcap and zwave support we need to run the container as root. This is done by overriding the command in the Dockerfile. Setting the -u parameter is useless, because we use gosu.
2017-02-14 22:46:18 +01:00
legacycode aab2ac1a71 updated documentation. added libpcap support and table of content (#70) 2017-02-02 20:00:07 +01:00
legacycode 7436da8fc0 Added locales and libpcap-dev (#69)
* added localed and libpcap-dev package

* added locales

* added variables to documentation

* added netbase for pcap4j. it installs /etc/services that is used by the amazon dashbutton plugin.

* 1.8.3 is now generated from update.sh. added locales and libpcap
2017-02-01 19:36:04 +01:00
Christian Häussler 7a19a82832 Add docker image for version 1.8.3 (#68)
* Initial OH1 1.8.3 Image

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)

* Add OH1 1.8.3 version

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)

* Fix Dockerfile permission issue

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)

* added features from 2.1.0-snapshot to stable version 1.8.3

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)

* Delete entrypoint.sh

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)

* Fix arm64 32bit fallback

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)

* Add Java alternatives path

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)
2017-02-01 15:44:47 +01:00
legacycode 0d2ad02be5 added features from 2.1.0-snapshot to stable version 2.0.0 (#66) 2017-01-30 20:35:34 +01:00
legacycode 9b7028bb19 starting docker using named data container. easier for beginners. (#62) 2017-01-30 00:18:52 +01:00
Christian 'Pelle' Pelster 4929672341 Update README.md (#63)
Update README.md to include the default password for the client login.
2017-01-29 23:33:52 +01:00
legacycode 6d22251cbf Openhab USER_ID can now be set via variable at container creation time. (#61)
* Openhab USER_ID can now be set via variable at container creation time.

* removed obsolete files.

* Update README.md

* Update README.md
2017-01-27 08:23:01 +01:00
Christian Häussler 0452d0600f Add version tags for doker hub and change badgets
Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)
2017-01-26 08:44:52 +01:00
legacycode e8373e6b6f Updatescript created for maintaining verion files. (#56)
* fixed broken build for arm64. migrated from ubuntu to debian jessie. migrated from oraclejdk to openjdk8

* Removed FLAVOR from build files. Rework on readme.md

* added update.sh, rework on folder structure, documentation updated.

* travis file updated to new structure and tags.

* fix travis file
2017-01-24 22:08:29 +01:00
Christian Häussler 1ff9f6d8b1 Remove -offline in badgets
Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)
2017-01-16 20:53:21 +01:00
legacycode 50dc4c23bf Solve client backspace issue when running client console (#51)
* fixed broken build for arm64. migrated from ubuntu to debian jessie. migrated from oraclejdk to openjdk8

* Removed FLAVOR from build files. Rework on readme.md

* resolved
2017-01-15 20:50:39 +01:00
Christian Häussler 65db763457 Add link to Dokerfile
Signed-off-by: Christian Häussler <c-n-i@web.de> (github: cniweb)
2017-01-13 14:56:22 +01:00
legacycode 5b0c8fe45d removed flavor and rework on readme.md (#48) 2017-01-12 14:29:52 +01:00
legacycode f8f8b0702f Update readme.md (#42)
moved from imagelayers to microbadger.

Signed-off-by: Christian Lehmann <info@legacycode.org> (github: legacycode)
2017-01-10 22:29:06 +01:00
Christian Häussler 46b94712cd Updating paths for new OH2 folder layout (#37)
* Updating paths for new OH2 folder layout

Fix for #36

Needed for: openhab/openhab-distro#318

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: cniweb)

* Updating paths for new OH2 folder layout

Fix for #36

Needed for: openhab/openhab-distro#318

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: cniweb)
2016-11-10 22:33:57 +01:00
Mariano Gonzalez b3f50b1333 Fixed README section for accessing Karaf console (#32) 2016-10-10 00:06:23 +02:00
Christian Häussler c3f0a6f411 Add more badges
Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)
2016-06-28 21:29:35 +02:00
Christian Häussler e76fe891df Update badges
Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)
2016-06-23 23:36:55 +02:00
Christian Häussler 1baa78046b Revert "Revert "Pr 19" (#21)"
This reverts commit cc4cd587eb.
2016-06-23 23:26:40 +02:00
Christian Häussler cc4cd587eb Revert "Pr 19" (#21)
OMG
2016-06-23 23:07:52 +02:00
Christian Häussler a087d13c8b Pr 19 (#20)
* Update badges

* Update badges

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)

* Add LABEL to Dockerfile

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)

* Add LABLE Args to Makefile

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)

* Add microbadger badged

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)
2016-06-23 22:47:41 +02:00
Christian Häussler 2ac5487dad Update badges (#17)
* Update badges

* Update badges

Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)
2016-06-22 00:01:59 +02:00
Hannes Schaller 40c82fa4c7 Add new command "console" to entrypoint.
Signed-off-by: Hannes Schaller <admin@cyberkov.at>
2016-04-12 08:36:51 +02:00
The Gitter Badger 27c0680b62 Add Gitter badge 2016-04-07 19:04:18 +00:00
Kai Kreuzer 14f2ba0af9 minor fixes
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-04 20:50:46 +02:00
Hannes Schaller da8aedc469 New Dockerfile and update on Readme
Also-by: Christian Häussler <c-n-i@web.de> (github: cniweb)
Also-by: Manfred Touron <m@42.am> (github: moul)
Signed-off-by: Hannes Schaller <admin@cyberkov.at> (github: cyberkov)
2016-04-03 10:55:53 +02:00
Christian Häussler 82890fb9ab Update README.md
Signed-off-by: Christian Häussler <c-n-i@web.de> (github: cniweb)
2016-04-01 00:00:48 +02:00
Kai Kreuzer be87e3e544 Initial commit 2016-02-26 09:53:53 +01:00