Sthope 5601c25ea4
Some checks failed
continuous-integration/drone/push Build is failing
first commit
2022-05-15 15:08:17 +02:00

20 lines
559 B
Docker

# FROM alpine:latest
FROM lsiobase/alpine:3.9
LABEL org.opencontainers.image.source="https://git.sthope.dev/sthope/DockerContainer-randomPwd"
LABEL Maintainer="Sthope"
LABEL Description="Send CPU Temp via MQTT"
LABEL version="1.0.0"
ARG PUID=1000
ARG PGID=1000
RUN set -xe \
&& addgroup -g ${PGID} -S mosquitto \
&& adduser -u ${PUID} -G mosquitto -h /mosquitto/ -D mosquitto \
&& apk add --no-cache --purge -uU mosquitto mosquitto-libs mosquitto-clients
WORKDIR /workspace
COPY root/defaults/temp2mqtt /workspace
CMD [ "sh", "./temp2mqtt" ]