This commit is contained in:
rainer
2022-10-30 14:20:02 +01:00
parent 138c54cd09
commit 60c2a8f4e2

View File

@@ -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