This commit is contained in:
18
Dockerfile
18
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user