aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--skopeo/Dockerfile9
-rw-r--r--skopeo/Makefile20
2 files changed, 29 insertions, 0 deletions
diff --git a/skopeo/Dockerfile b/skopeo/Dockerfile
new file mode 100644
index 0000000..5a7b0a3
--- /dev/null
+++ b/skopeo/Dockerfile
@@ -0,0 +1,9 @@
1FROM alpine:edge
2LABEL maintainer="Mike Crute <mike@crute.us>"
3
4RUN set -euxo pipefail; \
5 apk add --no-cache \
6 skopeo \
7 ;
8
9ENTRYPOINT [ "/usr/bin/skopeo" ]
diff --git a/skopeo/Makefile b/skopeo/Makefile
new file mode 100644
index 0000000..28e15d5
--- /dev/null
+++ b/skopeo/Makefile
@@ -0,0 +1,20 @@
1IMAGE=docker.crute.me/skopeo:latest
2
3all:
4 docker pull alpine:edge
5 docker build -t $(IMAGE) .
6
7all-no-cache:
8 docker build --no-cache -t $(IMAGE) .
9
10run:
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
19publish:
20 docker push $(IMAGE)