Compare commits

..

No commits in common. "master" and "0.0.5" have entirely different histories.

4 changed files with 37 additions and 13 deletions

View File

@ -1,6 +1,7 @@
= Docker
This repository contains custom Dockerfiles whose images will be stored on this Gitea container registry. Releases trace new image tags being added to the container registry.
This repository contains custom Dockerfiles whose images will be stored on this Gitea container registry.
== How to use
@ -21,23 +22,46 @@ Caddy base image with https://github.com/caddy-dns/duckdns[duckdns module] added
[source,shell]
----
docker build --build-arg CADDY_VERSION=2.8.4 -f ./caddy-duckdns.Dockerfile -t caddy-duckdns:2.8.4 .
docker build --build-arg VERSION=2.7.6 -f ./caddy-duckdns.Dockerfile -t caddy-duckdns:2.7.6 .
----
Existing pre-built images :
* git.syyrell.com/syrell/caddy-duckdns:2.7.6
=== caddy-docker-ovh.Dockerfile
Caddy base image with https://github.com/caddy-dns/ovh[OVH module] and https://github.com/lucaslorentz/caddy-docker-proxy[docker-proxy module] added. There is a `CADDY_VERSION` variable (default: latest) to chose which Caddy version to use.
[source,shell]
----
docker build --build-arg CADDY_VERSION=2.8.4 -f ./caddy-docker-ovh.Dockerfile -t caddy-docker-ovh:2.8.4 .
docker build --build-arg CADDY_VERSION=2.7.6 -f ./caddy-docker-ovh.Dockerfile -t caddy-docker-ovh:2.7.6 .
----
Existing pre-built images :
* git.syyrell.com/syrell/caddy-docker-ovh:2.7.6
=== gitea-external-renderers.Dockerfile
Gitea base image (rootless) with https://docs.gitea.com/administration/external-renderers[external renderers] added. There is a `VERSION` (default: latest) variable to chose which Gitea version to use. Libraries for Jupyter are not installed to keep the image size reasonable, other providers should work just fine. Don't forget to update your `app.ini` file to enable desired providers.
[source,shell]
----
docker build --build-arg GITEA_VERSION=1.22.1 -f ./gitea-external-renderers.Dockerfile -t gitea-external-renderers:1.22.1 .
----
docker build --build-arg VERSION=1.22.0 -f ./gitea-external-renderers.Dockerfile -t gitea-external-renderers:1.22.0 .
----
Existing pre-built images :
* git.syyrell.com/syrell/gitea-external-renderers:1.21.1
* git.syyrell.com/syrell/gitea-external-renderers:1.21.2
* git.syyrell.com/syrell/gitea-external-renderers:1.21.3
* git.syyrell.com/syrell/gitea-external-renderers:1.21.4
* git.syyrell.com/syrell/gitea-external-renderers:1.21.5
* git.syyrell.com/syrell/gitea-external-renderers:1.21.6
* git.syyrell.com/syrell/gitea-external-renderers:1.21.7
* git.syyrell.com/syrell/gitea-external-renderers:1.21.8
* git.syyrell.com/syrell/gitea-external-renderers:1.21.9
* git.syyrell.com/syrell/gitea-external-renderers:1.21.10
* git.syyrell.com/syrell/gitea-external-renderers:1.21.11
* git.syyrell.com/syrell/gitea-external-renderers:1.22.0

View File

@ -1,8 +1,8 @@
ARG CADDY_VERSION=latest
FROM arm64v8/caddy:${CADDY_VERSION}-builder AS builder
ARG VERSION=latest
FROM arm64v8/caddy:${VERSION}-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/duckdns
FROM arm64v8/caddy:${CADDY_VERSION}
FROM arm64v8/caddy:${VERSION}
COPY --from=builder /usr/bin/caddy /usr/bin/caddy

View File

@ -1,8 +1,8 @@
ARG CADDY_VERSION=latest
FROM caddy:${CADDY_VERSION}-builder AS builder
ARG VERSION=latest
FROM caddy:${VERSION}-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/duckdns
FROM caddy:${CADDY_VERSION}
FROM caddy:${VERSION}
COPY --from=builder /usr/bin/caddy /usr/bin/caddy

View File

@ -1,5 +1,5 @@
ARG GITEA_VERSION=latest
FROM gitea/gitea:${GITEA_VERSION}-rootless
ARG VERSION=latest
FROM gitea/gitea:${VERSION}-rootless
USER root
RUN apk --no-cache add \