1
0
mirror of /repos/mqtt-broker-docker-image.git synced 2026-02-26 17:32:06 +01:00

initial commit

This commit is contained in:
Aiko Mastboom
2015-05-14 08:43:34 +02:00
parent 18135b70eb
commit 71a1d8fbb5
2 changed files with 31 additions and 5 deletions

View File

@@ -1,12 +1,19 @@
FROM phusion/baseimage:0.9.16
FROM aiko/baseimage-pi:0.9.16
MAINTAINER Vojta Orgoň (villlem@gmail.com)
MAINTAINER Aiko Mastboom (docker@aiko.sh)
RUN rm -rf /etc/service/sshd /etc/my_init.d/00_regen_ssh_host_keys.sh
RUN add-apt-repository ppa:mosquitto-dev/mosquitto-ppa -y
RUN apt-get update
RUN apt-get install -y mosquitto mosquitto-clients
#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