Added Caddy ARM-based variant image

This commit is contained in:
syrell 2023-12-18 00:43:50 +01:00
parent afb5295305
commit 8a4e8b276b
Signed by: syrell
GPG Key ID: BC9570E849334AF9
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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