diff --git a/README.adoc b/README.adoc index 4f4c264..d74236b 100644 --- a/README.adoc +++ b/README.adoc @@ -18,7 +18,7 @@ docker push git.syyrell.com/{owner}/{image}:{tag} === caddy-duckdns.Dockerfile -Caddy base image with https://github.com/caddy-dns/duckdns[duckdns module] added. There is a `VERSION` variable (default: latest) to chose which Caddy version to use. +Caddy base image with https://github.com/caddy-dns/duckdns[duckdns module] added. There is a `VERSION` variable (default: latest) to chose which Caddy version to use. There is also an ARM variant of this image link:./caddy-arm-duckdns.Dockerfile[here]. [source,shell] ---- @@ -28,6 +28,7 @@ docker build --build-arg VERSION=2.7.6 -f ./caddy-duckdns.Dockerfile -t caddy-du Existing pre-built images : * git.syyrell.com/syrell/caddy-duckdns:2.7.6 +* git.syyrell.com/syrell/caddy-arm-duckdns:2.7.6 === gitea-external-renderers.Dockerfile diff --git a/caddy-arm-duckdns.Dockerfile b/caddy-arm-duckdns.Dockerfile new file mode 100644 index 0000000..88cc7d7 --- /dev/null +++ b/caddy-arm-duckdns.Dockerfile @@ -0,0 +1,8 @@ +ARG VERSION=latest +FROM arm64v8/caddy:${VERSION}-builder AS builder + +RUN xcaddy build \ + --with github.com/caddy-dns/duckdns + +FROM arm64v8/caddy:${VERSION} +COPY --from=builder /usr/bin/caddy /usr/bin/caddy \ No newline at end of file