Docker/README.adoc

60 lines
2.4 KiB
Plaintext
Raw Normal View History

= Docker
This repository contains custom Dockerfiles whose images will be stored on this Gitea container registry.
== How to use
To use the container registry you must login using your credentials. If you have enabled two-factors authentication, you will need to create an application token with repository read access. More informations on https://docs.gitea.com/usage/packages/container[Gitea documentation].
[source,shell]
----
docker login git.syyrell.com
docker pull git.syyrell.com/{owner}/{image}:{tag}
docker push git.syyrell.com/{owner}/{image}:{tag}
----
== Dockerfiles available
=== caddy-duckdns.Dockerfile
2023-12-18 00:43:50 +01:00
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]
----
docker build --build-arg VERSION=2.7.6 -f ./caddy-duckdns.Dockerfile -t caddy-duckdns:2.7.6 .
----
Existing pre-built images :
2023-12-16 20:08:43 +01:00
* 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.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
2023-12-16 20:08:43 +01:00
=== 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 VERSION=1.21.4 -f ./gitea-external-renderers.Dockerfile -t gitea-external-renderers:1.21.4 .
2023-12-16 20:08:43 +01:00
----
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
2024-02-01 21:00:56 +01:00
* git.syyrell.com/syrell/gitea-external-renderers:1.21.4
* git.syyrell.com/syrell/gitea-external-renderers:1.21.5