From 60c2a8f4e279ebdb363a32ef3ecab4e1d93eec42 Mon Sep 17 00:00:00 2001 From: rainer Date: Sun, 30 Oct 2022 14:20:02 +0100 Subject: [PATCH] --- Dockerfile | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index f42123d..121f0c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,12 @@ -FROM openhab/openhab:1.8.3 +FROM openhab/openhab:1.8.3-alpine -# Update Ubuntu Software repository -RUN apt-get update +RUN apk add --no-cache \ + htop curl moreutils \ + mosquitto-clients \ + && rm -rf /var/cache/apk/* /tmp/* -# Install some stuff from OS repository -RUN apt-get install -y arping python python-pip && \ - rm -rf /var/lib/apt/lists/* +COPY ./openhab/addons/* /openhab/addons/ -# 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