diff options
Diffstat (limited to 'skopeo/Makefile')
-rw-r--r-- | skopeo/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/skopeo/Makefile b/skopeo/Makefile new file mode 100644 index 0000000..28e15d5 --- /dev/null +++ b/skopeo/Makefile | |||
@@ -0,0 +1,20 @@ | |||
1 | IMAGE=docker.crute.me/skopeo: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) | ||