* 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>
* Fixes zip (#111) & vendor typo (#117)
* Debian package list now include zip with && for following commands
* Minor typo in label vendor (penHAB -> openHAB)
Signed-off-by: Michael Carroll <me@michaelrcarroll.com> (github: michaelrcarroll)
* Delete different instance.properties path, too
In my OH2 installation, the instance.properties file is located in
the tmp directory, and not in the runtime directory, that's why the
deletion of the file does not succeed, and restarting the container
does not work.
* Install ttf-dejavu for some basic fonts (needed for charts)
I've used the alpine image instead of the debian and all charts did
not work anymore. After finding:
https://github.com/docker-library/openjdk/issues/73
and installing the ttf.dejavu package manually, the charts worked again.
This commit adds this package to the alpine base packages which needs to
be installed to get a working OH2 environment.
* 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
* 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)
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.
For the charting feature, the system, where OH2 is running, needs to
have some fonts installed. The package fontconfig should depend on all
needed packages on all systems (a shared library to access fonts and
some fonts (on debian libfreetype6 e.g.)).
I tested this on a amd64 Ubuntu host, however, it should work on armhf
and arm64 platforms, too.
Fixes#73
Signed-off-by: Florian Schmidt <florian.schmidt.welzow@t-online.de>
* added entryscript and gosu
* fix user creation
* removed patchelf
* create user openhab on start
* fixed build error. entryscript now differs between 1.8.3 and 2.0.0 versions.
* moved execution of command into Dockerfile to avoid openhab zombie process. The command can now be overriden on on first execution by the user.
* 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
* 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
* initial commit for version 2.1.0-snapshot to better track changes.
* oved to azul zulu java, removed entryfile and gosu. image layers optimized.
* 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