update version detection

This commit is contained in:
buanet
2023-09-04 08:06:25 +02:00
parent 71ece920f0
commit af51286954

View File

@@ -52,11 +52,11 @@ RUN apt-get update && apt-get upgrade -y \
# Prepare .docker_config
&& mkdir /opt/.docker_config \
&& echo "starting" > /opt/.docker_config/.healthcheck \
&& echo "v9.0.0-testing" > /opt/.docker_config/.thisisdocker \
&& echo "${VERSION}" > /opt/.docker_config/.thisisdocker \
&& echo "true" > /opt/.docker_config/.first_run \
# Prepare old .docker_config (needed until changed in iobroker)
&& mkdir /opt/scripts/.docker_config \
&& echo "v9.0.0-testing" > /opt/scripts/.docker_config/.thisisdocker \
&& echo "${VERSION}" > /opt/scripts/.docker_config/.thisisdocker \
# Run iobroker installer
&& curl -sL https://iobroker.net/install.sh | bash - \
# Deleting UUID from build