TICLinky/Dockerfile

16 lines
336 B
Docker
Raw Normal View History

2022-12-07 14:22:06 +01:00
FROM arm32v6/openjdk:8u212-jdk-alpine
ADD run.sh target/tic.jar /data/bin/
RUN chmod u+x /data/bin/*
ENV TIC_MQTT_SERVER_IP="127.0.0.1"
ENV TIC_MQTT_HASS_DISCOVERY_PREFIX="homeassistant"
ENV TIC_MQTT_USERNAME="name"
ENV TIC_MQTT_PASSWORD="pass"
ENV TIC_TTY_INPUT="/dev/ttyAMA0"
WORKDIR /data/workdir
ENTRYPOINT /data/bin/run.sh -i