From 138c54cd09bf6ba258afefff1fb7d7ebc5eadb93 Mon Sep 17 00:00:00 2001 From: rainer Date: Fri, 21 Oct 2022 16:22:54 +0200 Subject: [PATCH] --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f42123d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM openhab/openhab:1.8.3 + +# Update Ubuntu Software repository +RUN apt-get update + +# Install some stuff from OS repository +RUN apt-get install -y arping python python-pip && \ + rm -rf /var/lib/apt/lists/* + +# Some additional Python stuff +RUN pip install paho-mqtt socketIO-client-2 + +EXPOSE 9123 + +ENV EXTRA_JAVA_OPTS="-Duser.timezone=Europe/Berlin" \ + USER_ID=1002 \ + GROUP_ID=1000 +