aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2021-01-18 06:23:32 +0000
committerMike Crute <mike@crute.us>2021-01-18 06:23:32 +0000
commitda78e57358c2e11d47159cb83a2ec365a6cc7a99 (patch)
treeff5faf71dfc2f4086f5046f9f475b7df1fb60955
parent4d88024b44c7bad8460553daaf9c6c0be155cf4e (diff)
downloaddockerfiles-da78e57358c2e11d47159cb83a2ec365a6cc7a99.tar.bz2
dockerfiles-da78e57358c2e11d47159cb83a2ec365a6cc7a99.tar.xz
dockerfiles-da78e57358c2e11d47159cb83a2ec365a6cc7a99.zip
Add skopeo image
-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)