openhab (latest)

Published 2024-01-14 20:07:24 +01:00 by flo in flo/openhab-docker

Installation

docker pull scm.indeedgeek.de/flo/openhab:latest
sha256:216b7446a62df9ca48fe6cf0ebe98521c1f47eca53174319c61fa795436a80f9

About this package

An open source, technology agnostic home automation platform

Image Layers

ADD file:bb44d67b03db8efaeb0c4171474f441d14ff35f328f13add32b289fca062fa2f in /
CMD ["bash"]
ARG BUILD_DATE
ARG VCS_REF
ARG JAVA_VERSION
ARG OPENHAB_VERSION
ENV CRYPTO_POLICY=limited EXTRA_JAVA_OPTS= EXTRA_SHELL_OPTS= GROUP_ID=9001 KARAF_EXEC=exec LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 OPENHAB_BACKUPS=/openhab/userdata/backup OPENHAB_CONF=/openhab/conf OPENHAB_HOME=/openhab OPENHAB_HTTP_PORT=8080 OPENHAB_HTTPS_PORT=8443 OPENHAB_LOGDIR=/openhab/userdata/logs OPENHAB_USERDATA=/openhab/userdata USER_ID=9001
LABEL org.opencontainers.image.created=2024-01-07T21:01:16Z org.opencontainers.image.licenses=EPL-2.0 org.opencontainers.image.title=openHAB org.opencontainers.image.vendor=openHAB Foundation e.V. org.opencontainers.image.version=4.1.1 org.opencontainers.image.description=An open source, technology agnostic home automation platform org.opencontainers.image.url=https://www.openhab.org/ org.opencontainers.image.documentation=https://www.openhab.org/docs/installation/docker.html org.opencontainers.image.revision=7bd4fce05043f34e7e03a50902c28cc168b3d791 org.opencontainers.image.source=https://github.com/openhab/openhab-docker.git org.opencontainers.image.authors=openHAB <info@openhabfoundation.org>
SHELL [/bin/bash -o pipefail -c]
RUN |4 BUILD_DATE=2024-01-07T21:01:16Z VCS_REF=7bd4fce05043f34e7e03a50902c28cc168b3d791 JAVA_VERSION=17 OPENHAB_VERSION=4.1.1 /bin/bash -o pipefail -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y arping ca-certificates curl fontconfig gosu iputils-ping libcap2-bin locales locales-all netbase openjdk-${JAVA_VERSION}-jre-headless procps tini unzip wget zip && c_rehash && chmod u+s /usr/sbin/arping && ln -s -f /bin/true /usr/bin/chfn && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
RUN |4 BUILD_DATE=2024-01-07T21:01:16Z VCS_REF=7bd4fce05043f34e7e03a50902c28cc168b3d791 JAVA_VERSION=17 OPENHAB_VERSION=4.1.1 /bin/bash -o pipefail -c JAVA_HOME=$(find /usr/lib/jvm -maxdepth 1 -name "*jdk*" -type d) && sed -i 's/^crypto.policy=unlimited/crypto.policy=limited/' "${JAVA_HOME}/conf/security/java.security" # buildkit
RUN |4 BUILD_DATE=2024-01-07T21:01:16Z VCS_REF=7bd4fce05043f34e7e03a50902c28cc168b3d791 JAVA_VERSION=17 OPENHAB_VERSION=4.1.1 /bin/bash -o pipefail -c version="$(echo $OPENHAB_VERSION | sed 's/snapshot/SNAPSHOT/g')" && if [ $(echo $version | grep -E '^.+\.(M|RC).+$') ]; then url="https://openhab.jfrog.io/openhab/libs-milestone-local/org/openhab/distro/openhab/${version}/openhab-${version}.zip"; elif [ $(echo $version | grep -E '^4\..+-SNAPSHOT$') ]; then url="https://ci.openhab.org/job/openHAB-Distribution/lastSuccessfulBuild/artifact/distributions/openhab/target/openhab-${version}.zip"; else url="https://openhab.jfrog.io/openhab/libs-release/org/openhab/distro/openhab/${version}/openhab-${version}.zip"; fi && wget -nv -O /tmp/openhab.zip "$url" && unzip -q /tmp/openhab.zip -d "${OPENHAB_HOME}" -x "*.bat" "*.ps1" "*.psm1" && rm /tmp/openhab.zip && mkdir -p "${OPENHAB_LOGDIR}" && touch "${OPENHAB_LOGDIR}/openhab.log" && mkdir -p "${OPENHAB_HOME}/dist" && cp -a "${OPENHAB_CONF}" "${OPENHAB_USERDATA}" "${OPENHAB_HOME}/dist" && echo 'export TERM=${TERM:=dumb}' | tee -a ~/.bashrc # buildkit
COPY update /openhab/runtime/bin/update # buildkit
RUN |4 BUILD_DATE=2024-01-07T21:01:16Z VCS_REF=7bd4fce05043f34e7e03a50902c28cc168b3d791 JAVA_VERSION=17 OPENHAB_VERSION=4.1.1 /bin/bash -o pipefail -c chmod +x ${OPENHAB_HOME}/runtime/bin/update # buildkit
VOLUME [/openhab/conf /openhab/userdata /openhab/addons]
EXPOSE map[5007/tcp:{} 8080/tcp:{} 8101/tcp:{} 8443/tcp:{}]
HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:${OPENHAB_HTTP_PORT}/ || exit 1"] "5m0s" "5s" "0s" "0s" '\x03'}
WORKDIR /openhab
COPY entrypoint /entrypoint # buildkit
RUN |4 BUILD_DATE=2024-01-07T21:01:16Z VCS_REF=7bd4fce05043f34e7e03a50902c28cc168b3d791 JAVA_VERSION=17 OPENHAB_VERSION=4.1.1 /bin/bash -o pipefail -c chmod +x /entrypoint # buildkit
ENTRYPOINT ["/entrypoint"]
CMD ["gosu" "openhab" "tini" "-s" "./start.sh"]
HEALTHCHECK NONE

Labels

Key Value
io.buildah.version 1.33.2
org.opencontainers.image.authors openHAB <info@openhabfoundation.org>
org.opencontainers.image.created 2024-01-07T21:01:16Z
org.opencontainers.image.description An open source, technology agnostic home automation platform
org.opencontainers.image.documentation https://www.openhab.org/docs/installation/docker.html
org.opencontainers.image.licenses EPL-2.0
org.opencontainers.image.revision 7bd4fce05043f34e7e03a50902c28cc168b3d791
org.opencontainers.image.source https://github.com/openhab/openhab-docker.git
org.opencontainers.image.title openHAB
org.opencontainers.image.url https://www.openhab.org/
org.opencontainers.image.vendor openHAB Foundation e.V.
org.opencontainers.image.version 4.1.1
Details
Container
2024-01-14 20:07:24 +01:00
0
OCI / Docker
linux/amd64
openHAB <info@openhabfoundation.org>
EPL-2.0
293 MiB
Versions (1) View all
latest 2024-01-14