Compare commits

...

4 Commits

Author SHA1 Message Date
buanet
3b3dc39bc8 prepare v9.0.0-beta.2 2023-09-28 21:48:47 +02:00
buanet
117f57aa3e fix typos 2023-09-28 20:41:36 +02:00
buanet
49f9f9ad8b small fixes in beta 2023-09-28 16:03:02 +02:00
buanet
f3f5df4819 update license 2023-09-25 22:24:35 +02:00
8 changed files with 30 additions and 26 deletions

View File

@@ -1 +1 @@
v9.0.0-beta.1 v9.0.0-beta.2

View File

@@ -1,16 +1,19 @@
## Changelog ## Changelog
### v9.0.0-beta.1 (24.09.2023) ### v9.0.0-beta.2 (28.09.2023)
* remove special settings script and env for zwave ([#377](https://github.com/buanet/ioBroker.docker/issues/377)) * fix issue with unlocking features in backitup ([#381](https://github.com/buanet/ioBroker.docker/issues/381))
* simplify ci/ reduce gh actions * fix issue with fresh initializing iobroker
* ignore errors in "silent cleanup" on first start ([#369](https://github.com/buanet/ioBroker.docker/issues/369)) * v9.0.0-beta.1 (24.09.2023)
* cleanup/ restructure repo * remove special settings script and env for zwave ([#377](https://github.com/buanet/ioBroker.docker/issues/377))
* update nodejs setup process * simplify ci/ reduce gh actions
* update base image to debian 12 (bookworm) * ignore errors in "silent cleanup" on first start ([#369](https://github.com/buanet/ioBroker.docker/issues/369))
* improve security by avoiding root (exept startup script itself) * cleanup/ restructure repo
* restrict iobroker commanline commands (start/ stop/ node fix) * update nodejs setup process
* integrate maintenance script into iobroker command * update base image to debian 12 (bookworm)
* move container config files location * improve security by avoiding root (except startup script itself)
* restrict iobroker command line commands (start/ stop/ node fix)
* integrate maintenance script into iobroker command
* move container config files location
### v8.1.0 (15.08.2023) ### v8.1.0 (15.08.2023)
* repo cleanup * repo cleanup
@@ -121,7 +124,7 @@
* v5.2.0-beta4 (2021-09-10) * v5.2.0-beta4 (2021-09-10)
* adding iobroker user rights for "gosu" * adding iobroker user rights for "gosu"
* adding more labels in OCI standard format * adding more labels in OCI standard format
* fixing workdir bug * fixing work dir bug
* adding backitup compatibility * adding backitup compatibility
* v5.2.0-beta3 (2021-09-04) * v5.2.0-beta3 (2021-09-04)
* reducing layers in dockerfile * reducing layers in dockerfile
@@ -147,10 +150,10 @@
### v5.1.0 (2020-11-05) ### v5.1.0 (2020-11-05)
* v5.0.2-beta (2020-07-28) * v5.0.2-beta (2020-07-28)
* added docker tag for majorversion latest * added docker tag for major version latest
* extend readme.md docu * extend readme.md docs
* added maintenance script * added maintenance script
* added container healthcheck * added container health check
* fixed configuration procedure and logging for objects and states db setup * fixed configuration procedure and logging for objects and states db setup
* v5.0.1-beta (2020-07-01) * v5.0.1-beta (2020-07-01)
* fixing backup detection in startup script * fixing backup detection in startup script
@@ -177,7 +180,7 @@
* switching base image to buster * switching base image to buster
* optimizing installation of packages defined by ENV "PACKAGES" * optimizing installation of packages defined by ENV "PACKAGES"
* v4.1.3-beta (2020-02-08) * v4.1.3-beta (2020-02-08)
* renamed ENV for adminport (new "IOB_ADMINPORT)") * renamed ENV for admin port (new "IOB_ADMINPORT)")
* added new ENVs for "iobroker setup custom" (replacing "REDIS") * added new ENVs for "iobroker setup custom" (replacing "REDIS")
* enhancements in startup script logging * enhancements in startup script logging
* v4.1.2-beta (2020-02-02) * v4.1.2-beta (2020-02-02)
@@ -197,7 +200,7 @@
* v4.0.1-beta (2019-11-25) * v4.0.1-beta (2019-11-25)
* added env for iobroker admin port * added env for iobroker admin port
* added env for usb-devices (setting permissions) * added env for usb-devices (setting permissions)
* updateing prerequisites for iobroker installation * updating prerequisites for iobroker installation
* some small code fixes * some small code fixes
### v4.0.0 (2019-10-25) ### v4.0.0 (2019-10-25)
@@ -292,7 +295,7 @@
* added git package * added git package
### v0.1.0 (2017-03-08) ### v0.1.0 (2017-03-08)
* moved avahi-start.sh to seperate directory * moved avahi-start.sh to separate directory
* fixed timezone issue (sets now timezone to Europe/Berlin) * fixed timezone issue (sets now timezone to Europe/Berlin)
### v0.0.2 (2017-03-06) ### v0.0.2 (2017-03-06)

View File

@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2017-2022 André Germann Copyright (c) 2017-2023 André Germann
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@@ -79,7 +79,7 @@ Moved to [CHANGELOG.md](CHANGELOG.md).
MIT License MIT License
Copyright (c) 2017-2022 André Germann Copyright (c) 2017-2023 André Germann
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@@ -71,7 +71,6 @@ RUN apt-get update && apt-get upgrade -y \
&& usermod -u 1000 iobroker \ && usermod -u 1000 iobroker \
&& groupmod -g 1000 iobroker \ && groupmod -g 1000 iobroker \
&& chown root:iobroker /usr/sbin/gosu \ && chown root:iobroker /usr/sbin/gosu \
#&& chmod +s /usr/sbin/gosu \
# Set permissions and ownership # Set permissions and ownership
&& chown -R iobroker:iobroker /opt/scripts /opt/userscripts \ && chown -R iobroker:iobroker /opt/scripts /opt/userscripts \
&& chmod 755 /opt/scripts/*.sh \ && chmod 755 /opt/scripts/*.sh \

View File

@@ -306,6 +306,7 @@ fi
# if restored a fresh install, running "iob setup first" for database init (but not on slaves!), otherwise check database connection # if restored a fresh install, running "iob setup first" for database init (but not on slaves!), otherwise check database connection
if [[ -f /opt/iobroker/.fresh_install && "$multihost" != "slave" ]]; then if [[ -f /opt/iobroker/.fresh_install && "$multihost" != "slave" ]]; then
echo -n "Initializing a fresh installation of ioBroker... " echo -n "Initializing a fresh installation of ioBroker... "
if [[ ! -d "/opt/iobroker/log" ]]; then gosu iobroker mkdir "/opt/iobroker/log"; fi
set +e set +e
bash iob setup first > /opt/iobroker/log/iob_setup_first.log 2>&1 bash iob setup first > /opt/iobroker/log/iob_setup_first.log 2>&1
return=$? return=$?
@@ -446,6 +447,7 @@ fi
if [[ "$backitup" == "true" ]]; then if [[ "$backitup" == "true" ]]; then
echo -n "IOB_BACKITUP_EXTDB is \"true\". Unlocking features..." echo -n "IOB_BACKITUP_EXTDB is \"true\". Unlocking features..."
echo "true" > /opt/.docker_config/.backitup echo "true" > /opt/.docker_config/.backitup
echo "true" > /opt/scripts/.docker_config/.backitup # old path, needed until changed in backitup
echo "Done." echo "Done."
echo " " echo " "
fi fi

View File

@@ -47,7 +47,7 @@ It is highly recommended not to use the `latest` tag for production, especially
# What is ioBroker? # What is ioBroker?
IoBroker is a open source IoT platform written in JavaScript that easily connects smarthome components from different manufactures. With the help of plugins (called: "adapters") ioBroker is able to communicate with a big variety of IoT hardware and services using different protocols and APIs.<br> IoBroker is a open source IoT platform written in JavaScript that easily connects smarthome components from different manufactures. With the help of plugins (called: "adapters") ioBroker is able to communicate with a big variety of IoT hardware and services using different protocols and APIs.<br>
All data is stored in a central database that all adapters can access. With this it is very easy to build up logical connections, automation scripts and beautiful visualisations.<br> All data is stored in a central database that all adapters can access. With this it is very easy to build up logical connections, automation scripts and beautiful visualizations.<br>
For further details please check out [iobroker.net](https://www.iobroker.net). For further details please check out [iobroker.net](https://www.iobroker.net).
# How to use this image? # How to use this image?
@@ -123,7 +123,7 @@ You could use environment variables to auto configure your ioBroker container on
* `LANGUAGE` (optional, default: de_DE:de) The following locales are pre-generated: de_DE:de, en_US:en * `LANGUAGE` (optional, default: de_DE:de) The following locales are pre-generated: de_DE:de, en_US:en
* `LC_ALL` (optional, default: de_DE.UTF-8) The following locales are pre-generated: de_DE.UTF-8, en_US.UTF-8 * `LC_ALL` (optional, default: de_DE.UTF-8) The following locales are pre-generated: de_DE.UTF-8, en_US.UTF-8
* `OFFLINE_MODE` (optional) Set `true` if your container has no or limited internet connection * `OFFLINE_MODE` (optional) Set `true` if your container has no or limited internet connection
* `PACKAGES` (optional) Install additional linux packages to your container, packages should be separated by whitespace like this: `package1 package2 package3`. * `PACKAGES` (optional) Install additional Linux packages to your container, packages should be separated by whitespace like this: `package1 package2 package3`.
* `PERMISSION_CHECK` (optional, default: true) Set "false" to skip checking and correcting all relevant permissions on container startup (Use at own risk!!!) * `PERMISSION_CHECK` (optional, default: true) Set "false" to skip checking and correcting all relevant permissions on container startup (Use at own risk!!!)
* `SETGID` (default: 1000) In some cases it might be useful to specify the gid of the containers iobroker user to match an existing group on the docker host * `SETGID` (default: 1000) In some cases it might be useful to specify the gid of the containers iobroker user to match an existing group on the docker host
* `SETUID` (default: 1000) In some cases it might be useful to specify the uid of the containers iobroker user to match an existing user on the docker host * `SETUID` (default: 1000) In some cases it might be useful to specify the uid of the containers iobroker user to match an existing user on the docker host

View File

@@ -49,7 +49,7 @@ It is highly recommended not to use the `latest` tag for production, especially
# What is ioBroker? # What is ioBroker?
IoBroker is a open source IoT platform written in JavaScript that easily connects smarthome components from different manufactures. With the help of plugins (called: "adapters") ioBroker is able to communicate with a big variety of IoT hardware and services using different protocols and APIs.<br> IoBroker is a open source IoT platform written in JavaScript that easily connects smarthome components from different manufactures. With the help of plugins (called: "adapters") ioBroker is able to communicate with a big variety of IoT hardware and services using different protocols and APIs.<br>
All data is stored in a central database that all adapters can access. With this it is very easy to build up logical connections, automation scripts and beautiful visualisations.<br> All data is stored in a central database that all adapters can access. With this it is very easy to build up logical connections, automation scripts and beautiful visualizations.<br>
For further details please check out [iobroker.net](https://www.iobroker.net). For further details please check out [iobroker.net](https://www.iobroker.net).
# How to use this image? # How to use this image?
@@ -125,7 +125,7 @@ You could use environment variables to auto configure your ioBroker container on
* `LANGUAGE` (optional, default: de_DE:de) The following locales are pre-generated: de_DE:de, en_US:en * `LANGUAGE` (optional, default: de_DE:de) The following locales are pre-generated: de_DE:de, en_US:en
* `LC_ALL` (optional, default: de_DE.UTF-8) The following locales are pre-generated: de_DE.UTF-8, en_US.UTF-8 * `LC_ALL` (optional, default: de_DE.UTF-8) The following locales are pre-generated: de_DE.UTF-8, en_US.UTF-8
* `OFFLINE_MODE` (optional) Set `true` if your container has no or limited internet connection * `OFFLINE_MODE` (optional) Set `true` if your container has no or limited internet connection
* `PACKAGES` (optional) Install additional linux packages to your container, packages should be separated by whitespace like this: `package1 package2 package3`. * `PACKAGES` (optional) Install additional Linux packages to your container, packages should be separated by whitespace like this: `package1 package2 package3`.
* `PERMISSION_CHECK` (optional, default: true) Set "false" to skip checking and correcting all relevant permissions on container startup (Use at own risk!!!) * `PERMISSION_CHECK` (optional, default: true) Set "false" to skip checking and correcting all relevant permissions on container startup (Use at own risk!!!)
* `SETGID` (default: 1000) In some cases it might be useful to specify the gid of the containers iobroker user to match an existing group on the docker host * `SETGID` (default: 1000) In some cases it might be useful to specify the gid of the containers iobroker user to match an existing group on the docker host
* `SETUID` (default: 1000) In some cases it might be useful to specify the uid of the containers iobroker user to match an existing user on the docker host * `SETUID` (default: 1000) In some cases it might be useful to specify the uid of the containers iobroker user to match an existing user on the docker host