diff options
Diffstat (limited to 'mosquitto')
-rw-r--r-- | mosquitto/Dockerfile | 9 | ||||
-rw-r--r-- | mosquitto/Makefile | 20 |
2 files changed, 0 insertions, 29 deletions
diff --git a/mosquitto/Dockerfile b/mosquitto/Dockerfile deleted file mode 100644 index 3ed038b..0000000 --- a/mosquitto/Dockerfile +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | FROM alpine:edge | ||
2 | LABEL maintainer="Mike Crute <mike@crute.us>" | ||
3 | |||
4 | RUN set -euxo pipefail; \ | ||
5 | apk add --no-cache \ | ||
6 | mosquitto \ | ||
7 | ; | ||
8 | |||
9 | CMD [ "/usr/sbin/mosquitto", "-v" ] | ||
diff --git a/mosquitto/Makefile b/mosquitto/Makefile deleted file mode 100644 index 5f50baf..0000000 --- a/mosquitto/Makefile +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | IMAGE=docker.crute.me/mosquitto:latest | ||
2 | |||
3 | all: | ||
4 | docker pull alpine:edge | ||
5 | docker build -t $(IMAGE) . | ||
6 | |||
7 | all-no-cache: | ||
8 | docker build --no-cache -t $(IMAGE) . | ||
9 | |||
10 | run: | ||
11 | docker run -d --net=host \ | ||
12 | -p 53:53/tcp \ | ||
13 | -p 53:53/udp \ | ||
14 | -p 953:953 \ | ||
15 | -v /home/mcrute/tmp/bind/conf:/etc/bind \ | ||
16 | -v /home/mcrute/tmp/bind/cache:/var/cache/bind \ | ||
17 | $(IMAGE) | ||
18 | |||
19 | publish: | ||
20 | docker push $(IMAGE) | ||