mirror of
/repos/mqtt-broker-docker-image.git
synced 2025-12-30 08:01:36 +01:00
21 lines
557 B
Docker
21 lines
557 B
Docker
FROM aiko/baseimage-pi:0.9.16
|
|
|
|
MAINTAINER Aiko Mastboom (docker@aiko.sh)
|
|
|
|
RUN rm -rf /etc/service/sshd /etc/my_init.d/00_regen_ssh_host_keys.sh
|
|
|
|
#RUN /bin/true \
|
|
# && apt-get update \
|
|
# && apt-get install -y python-software-properties \
|
|
# && add-apt-repository ppa:mosquitto-dev/mosquitto-ppa -y
|
|
RUN /bin/true \
|
|
&& apt-get update \
|
|
&& apt-get install -y mosquitto mosquitto-clients
|
|
|
|
# Clean up APT when done.
|
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
ADD mosquitto-broker.sh /etc/service/mosquitto-broker/run
|
|
|
|
EXPOSE 1883
|