Commit Graph

3 Commits

Author SHA1 Message Date
Adam Bogdał
a8194f0c2d Update docker config path (#349)
Signed-off-by: Adam Bogdał <adam@bogdal.pl>
2017-01-21 08:22:13 +00:00
David Audet
25a1f7d199 Update Dockerfiles to not save the apk cache
When installing the Mosquitto package from Alpine Linux, we don't need
to save the latest package index to the cache. We are specifically requesting
the latest package index each time we install Mosquitto and not using the local
cache at all (--no-cache).

Signed-off-by: David Audet <david.audet@ca.com>
2017-01-05 21:20:00 +00:00
David Audet
5487395fb6 Adding Dockerfiles to build versioned Docker images (#226)
* Adding Dockerfiles to build versioned Docker images

Dockerfiles have been added to create Docker
images for Mosquitto v1.4.4 and v1.4.8 using Alpine
Linux as a base.

Different directories have been added for each version
to decouple the configuration and entrypoint scripts.
Currently they contain the same content, but this could
change in the future.

Docker Hub will also need to pull from specific directories
when official docker images will be built and hosted on
Docker Hub.

* Removing unnecessary default config and volumes

Mount points are created in the image, but volumes are not automatically
created. The user can still create volumes for these mount points, but is
not required to.

The default configuration file is now copied from /etc/mosquitto/mosquitto.conf
to /mosquitto/config/mosquitto.conf. The user can override this file by
mounting a local configuration file to /mosquitto/config.

Signed-off-by: David Audet <david.audet@ca.com>
2016-09-21 21:35:05 +01:00