mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2026-01-31 18:59:02 +02:00
getting files ready for v4.2.0
This commit is contained in:
19
README.md
19
README.md
@@ -63,6 +63,8 @@ The following will give a short overview.
|
||||
To configure the ioBroker container on startup it is possible to set some environment variables.
|
||||
You do not have to declare every single variable when stting up your container. Variables you do not set will come up with their default value.
|
||||
|
||||
**Important: In v4.2.0 the ENVs "ADMINPORT" and "REDIS" were renamed/ reorganized. For Details see the following table!**
|
||||
|
||||
|env|default|description|
|
||||
|---|---|---|
|
||||
|AVAHI|false|Installs and activates avahi-daemon for supporting yahka-adapter, can be "true" or "false"|
|
||||
@@ -94,7 +96,7 @@ Note: It is absolutely recommended to use a mounted folder or persistent volume
|
||||
You can also mount a folder containing an existing ioBroker-installation (e.g. when moving an existing installation to docker).
|
||||
But watch for the used node version. If the existing installation runs with another major version of node you have do perform additional steps. For more Details see the "Important notice" on top.
|
||||
|
||||
Important: If the folder you mount to /opt/iobroker in your container is placed on a mounted device, partition or other storage, the mountpoint on your host should NOT have the "noexec" flag activated. Otherwise you may get problems executing ioBroker inside the container!
|
||||
**Important: If the folder you mount to /opt/iobroker in your container is placed on a mounted device, partition or other storage, the mountpoint on your host should NOT have the "noexec" flag activated. Otherwise you may get problems executing ioBroker inside the container!**
|
||||
|
||||
### Permission fixer
|
||||
|
||||
@@ -119,15 +121,20 @@ You will find the channel here: https://t.me/buanet_tutorials
|
||||
|
||||
### Support the project
|
||||
|
||||
The easiest way to support this project is to take a look into the [open issues](https://github.com/buanet/docker-iobroker/issues) and helping me answering questions, fixing bugs or adding new features. ;)<br>Another possible way could be to send me a small donation: <a href="https://www.paypal.me/buanet" target="_blank"><img src="https://buanet.de/wp-content/uploads/2017/08/pp128.png" height="20" width="20"></a>
|
||||
The easiest way to support this project is to leave me some likes/ stars on github and docker hub!<br>
|
||||
If you want to give something back, feel free to take a look into the [open issues](https://github.com/buanet/docker-iobroker/issues) or the [ioBroker forum thread](http://forum.iobroker.net/viewtopic.php?f=17&t=5089) and helping me answering questions, fixing bugs or adding new features!<br>
|
||||
And if you want to buy me a beer instead, you can do this here: <a href="https://www.paypal.me/buanet" target="_blank"><img src="https://buanet.de/wp-content/uploads/2017/08/pp128.png" height="20" width="20"></a><br>
|
||||
Thank you!
|
||||
|
||||
## Changelog
|
||||
|
||||
### v4.1.4beta (2020-04-07)
|
||||
* testing buster as base image
|
||||
* optimizing installation of packages
|
||||
### v4.2.0 (2020-04-14)
|
||||
* v4.1.4beta (2020-04-07)
|
||||
* switching base image to buster
|
||||
* optimizing installation of packages defined by ENV "PACKAGES"
|
||||
* v4.1.3beta (2020-02-08)
|
||||
* added new ENVs for "iobroker setup custom"
|
||||
* renamed ENV for adminport (new "IOB_ADMINPORT)")
|
||||
* added new ENVs for "iobroker setup custom" (replacing "REDIS")
|
||||
* enhancements in startupscript logging
|
||||
* v4.1.2beta (2020-02-02)
|
||||
* added feature for running userdefined scripts on startup
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
FROM balenalib/aarch64-debian:buster
|
||||
|
||||
LABEL maintainer="Andre Germann" \
|
||||
url="<https://buanet.de>"
|
||||
url="https://buanet.de"
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ then
|
||||
echo "Installing additional packages is set by ENV."
|
||||
echo "The following packages will be installed:" $packages"..."
|
||||
echo $packages > /opt/scripts/.packages
|
||||
bash /opt/scripts/setup_packages.sh > /opt/scripts/setup_packages.log 2>&1
|
||||
bash /opt/scripts/setup_packages.sh
|
||||
echo "Done."
|
||||
echo ' '
|
||||
fi
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
apt-get update
|
||||
apt-get install -y $(cat /opt/scripts/.packages)
|
||||
apt-get -qq update
|
||||
|
||||
packages=$(cat /opt/scripts/.packages)
|
||||
for i in $packages; do
|
||||
sudo apt-get -qq -y install $i
|
||||
done
|
||||
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
rm -f /opt/scripts/.packages
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM amd64/debian:buster
|
||||
|
||||
LABEL maintainer="Andre Germann" \
|
||||
url="<https://buanet.de>"
|
||||
url="https://buanet.de"
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ then
|
||||
echo "Installing additional packages is set by ENV."
|
||||
echo "The following packages will be installed:" $packages"..."
|
||||
echo $packages > /opt/scripts/.packages
|
||||
bash /opt/scripts/setup_packages.sh #> /opt/scripts/setup_packages.log 2>&1
|
||||
bash /opt/scripts/setup_packages.sh
|
||||
echo "Done."
|
||||
echo ' '
|
||||
fi
|
||||
|
||||
@@ -7,8 +7,6 @@ for i in $packages; do
|
||||
sudo apt-get -qq -y install $i
|
||||
done
|
||||
|
||||
# apt-get install -y $(cat /opt/scripts/.packages)
|
||||
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
rm -f /opt/scripts/.packages
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM balenalib/armv7hf-debian:buster
|
||||
|
||||
LABEL maintainer="Andre Germann" \
|
||||
url="<https://buanet.de>"
|
||||
url="https://buanet.de"
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ then
|
||||
echo "Installing additional packages is set by ENV."
|
||||
echo "The following packages will be installed:" $packages"..."
|
||||
echo $packages > /opt/scripts/.packages
|
||||
bash /opt/scripts/setup_packages.sh > /opt/scripts/setup_packages.log 2>&1
|
||||
bash /opt/scripts/setup_packages.sh
|
||||
echo "Done."
|
||||
echo ' '
|
||||
fi
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
apt-get update
|
||||
apt-get install -y $(cat /opt/scripts/.packages)
|
||||
apt-get -qq update
|
||||
|
||||
packages=$(cat /opt/scripts/.packages)
|
||||
for i in $packages; do
|
||||
sudo apt-get -qq -y install $i
|
||||
done
|
||||
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
rm -f /opt/scripts/.packages
|
||||
|
||||
|
||||
@@ -6,6 +6,5 @@
|
||||
cd /opt/iobroker
|
||||
pkill io
|
||||
sleep 5
|
||||
node node_modules/iobroker.js-controller/controller.js >/opt/scripts/docker_iobroker_log.txt 2>&1 &
|
||||
|
||||
gosu iobroker node node_modules/iobroker.js-controller/controller.js
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user