mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-17 18:39:01 +02:00
preparing beta4
This commit is contained in:
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,10 +1,14 @@
|
|||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
### v5.2.0-beta3 (2021-09-04)
|
### v5.2.0-beta4 (2021-09-10)
|
||||||
* changes for backitup compatibility
|
* adding iobroker user rights for "gosu"
|
||||||
* reducing layers in dockerfile
|
* adding more labels in OCI standard format
|
||||||
* making hostname check mandatory for startup
|
* fixing workdir bug
|
||||||
* optimize startup log
|
* adding backitup compatibility
|
||||||
|
* v5.2.0-beta3 (2021-09-04)
|
||||||
|
* reducing layers in dockerfile
|
||||||
|
* making hostname check mandatory for startup
|
||||||
|
* optimize startup log
|
||||||
* v5.2.0-beta2 (2021-08-28)
|
* v5.2.0-beta2 (2021-08-28)
|
||||||
* redesign maintenance script
|
* redesign maintenance script
|
||||||
* switching amd64 base image to debian bullseye slim
|
* switching amd64 base image to debian bullseye slim
|
||||||
|
|||||||
18
debian/node12/Dockerfile
vendored
18
debian/node12/Dockerfile
vendored
@@ -1,9 +1,12 @@
|
|||||||
FROM debian:bullseye-slim
|
FROM debian:bullseye-slim
|
||||||
|
|
||||||
LABEL org.opencontainers.image.title="ioBroker Docker Image" \
|
LABEL org.opencontainers.image.title="Official ioBroker Docker Image" \
|
||||||
org.opencontainers.image.description="Docker image for ioBroker smarthome software" \
|
org.opencontainers.image.description="Officical Docker image for ioBroker smarthome software (https://www.iobroker.net)" \
|
||||||
org.opencontainers.image.authors="info@buanet.de" \
|
org.opencontainers.image.documentation="https://github.com/buanet/ioBroker.docker#readme" \
|
||||||
|
org.opencontainers.image.authors="André Germann <info@buanet.de>" \
|
||||||
org.opencontainers.image.url="https://github.com/buanet/ioBroker.docker" \
|
org.opencontainers.image.url="https://github.com/buanet/ioBroker.docker" \
|
||||||
|
org.opencontainers.image.source="https://github.com/buanet/ioBroker.docker" \
|
||||||
|
org.opencontainers.image.base.name="docker.io/library/debian:bullseye-slim" \
|
||||||
org.opencontainers.image.version="${VERSION}" \
|
org.opencontainers.image.version="${VERSION}" \
|
||||||
org.opencontainers.image.created="${DATI}"
|
org.opencontainers.image.created="${DATI}"
|
||||||
|
|
||||||
@@ -53,11 +56,13 @@ RUN apt-get update \
|
|||||||
&& tar -cf /opt/initial_userscripts.tar /opt/userscripts \
|
&& tar -cf /opt/initial_userscripts.tar /opt/userscripts \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Setting up iobroker-user (shell and home directory)
|
# Setting up iobroker-user (shell, home dir and rights)
|
||||||
RUN chsh -s /bin/bash iobroker \
|
RUN chsh -s /bin/bash iobroker \
|
||||||
&& usermod --home /opt/iobroker iobroker \
|
&& usermod --home /opt/iobroker iobroker \
|
||||||
&& usermod -u 1000 iobroker \
|
&& usermod -u 1000 iobroker \
|
||||||
&& groupmod -g 1000 iobroker
|
&& groupmod -g 1000 iobroker \
|
||||||
|
&& chown root:iobroker /usr/sbin/gosu \
|
||||||
|
&& chmod +s /usr/sbin/gosu
|
||||||
|
|
||||||
# Setting up default ENVs
|
# Setting up default ENVs
|
||||||
ENV DEBIAN_FRONTEND="teletype" \
|
ENV DEBIAN_FRONTEND="teletype" \
|
||||||
@@ -71,6 +76,9 @@ ENV DEBIAN_FRONTEND="teletype" \
|
|||||||
# Expose default admin ui port
|
# Expose default admin ui port
|
||||||
EXPOSE 8081
|
EXPOSE 8081
|
||||||
|
|
||||||
|
# Change work dir
|
||||||
|
WORKDIR /opt/iobroker/
|
||||||
|
|
||||||
# Healthcheck
|
# Healthcheck
|
||||||
HEALTHCHECK --interval=15s --timeout=5s --retries=5 \
|
HEALTHCHECK --interval=15s --timeout=5s --retries=5 \
|
||||||
CMD ["/bin/bash", "-c", "/opt/scripts/healthcheck.sh"]
|
CMD ["/bin/bash", "-c", "/opt/scripts/healthcheck.sh"]
|
||||||
|
|||||||
18
debian/node14/Dockerfile
vendored
18
debian/node14/Dockerfile
vendored
@@ -1,9 +1,12 @@
|
|||||||
FROM debian:bullseye-slim
|
FROM debian:bullseye-slim
|
||||||
|
|
||||||
LABEL org.opencontainers.image.title="ioBroker Docker Image" \
|
LABEL org.opencontainers.image.title="Official ioBroker Docker Image" \
|
||||||
org.opencontainers.image.description="Docker image for ioBroker smarthome software" \
|
org.opencontainers.image.description="Officical Docker image for ioBroker smarthome software (https://www.iobroker.net)" \
|
||||||
org.opencontainers.image.authors="info@buanet.de" \
|
org.opencontainers.image.documentation="https://github.com/buanet/ioBroker.docker#readme" \
|
||||||
|
org.opencontainers.image.authors="André Germann <info@buanet.de>" \
|
||||||
org.opencontainers.image.url="https://github.com/buanet/ioBroker.docker" \
|
org.opencontainers.image.url="https://github.com/buanet/ioBroker.docker" \
|
||||||
|
org.opencontainers.image.source="https://github.com/buanet/ioBroker.docker" \
|
||||||
|
org.opencontainers.image.base.name="docker.io/library/debian:bullseye-slim" \
|
||||||
org.opencontainers.image.version="${VERSION}" \
|
org.opencontainers.image.version="${VERSION}" \
|
||||||
org.opencontainers.image.created="${DATI}"
|
org.opencontainers.image.created="${DATI}"
|
||||||
|
|
||||||
@@ -53,11 +56,13 @@ RUN apt-get update \
|
|||||||
&& tar -cf /opt/initial_userscripts.tar /opt/userscripts \
|
&& tar -cf /opt/initial_userscripts.tar /opt/userscripts \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Setting up iobroker-user (shell and home directory)
|
# Setting up iobroker-user (shell, home dir and rights)
|
||||||
RUN chsh -s /bin/bash iobroker \
|
RUN chsh -s /bin/bash iobroker \
|
||||||
&& usermod --home /opt/iobroker iobroker \
|
&& usermod --home /opt/iobroker iobroker \
|
||||||
&& usermod -u 1000 iobroker \
|
&& usermod -u 1000 iobroker \
|
||||||
&& groupmod -g 1000 iobroker
|
&& groupmod -g 1000 iobroker \
|
||||||
|
&& chown root:iobroker /usr/sbin/gosu \
|
||||||
|
&& chmod +s /usr/sbin/gosu
|
||||||
|
|
||||||
# Setting up default ENVs
|
# Setting up default ENVs
|
||||||
ENV DEBIAN_FRONTEND="teletype" \
|
ENV DEBIAN_FRONTEND="teletype" \
|
||||||
@@ -71,6 +76,9 @@ ENV DEBIAN_FRONTEND="teletype" \
|
|||||||
# Expose default admin ui port
|
# Expose default admin ui port
|
||||||
EXPOSE 8081
|
EXPOSE 8081
|
||||||
|
|
||||||
|
# Change work dir
|
||||||
|
WORKDIR /opt/iobroker/
|
||||||
|
|
||||||
# Healthcheck
|
# Healthcheck
|
||||||
HEALTHCHECK --interval=15s --timeout=5s --retries=5 \
|
HEALTHCHECK --interval=15s --timeout=5s --retries=5 \
|
||||||
CMD ["/bin/bash", "-c", "/opt/scripts/healthcheck.sh"]
|
CMD ["/bin/bash", "-c", "/opt/scripts/healthcheck.sh"]
|
||||||
|
|||||||
Reference in New Issue
Block a user