Add Dockerfile.

This commit is contained in:
James Pace 2022-03-26 20:38:37 -04:00
parent 4f267f5edf
commit 9ba49f6b43
1 changed files with 12 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM docker.io/library/debian:bullseye
RUN apt update && \
apt upgrade -y && \
apt install -y curl && \
curl -o /etc/apt/sources.list.d/jpace121.list http://packages.jpace121.net/apt/jpace121.list && \
curl -o /etc/apt/trusted.gpg.d/jpace121.asc http://packages.jpace121.net/apt/jpace121.asc && \
apt update && \
apt install -y mosquitto j7s-mosquitto-plugin && \
rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["mosquitto"]