Docker/README.adoc

2.0 KiB
Raw Permalink Blame History

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.

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 Gitea documentation.

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

Caddy base image with 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 here.

docker build --build-arg VERSION=2.8.1 -f ./caddy-duckdns.Dockerfile -t caddy-duckdns:2.8.1 .

caddy-docker-ovh.Dockerfile

Caddy base image with OVH module and docker-proxy module added. There is a CADDY_VERSION variable (default: latest) to chose which Caddy version to use.

docker build --build-arg CADDY_VERSION=2.8.1 -f ./caddy-docker-ovh.Dockerfile -t caddy-docker-ovh:2.8.1 .

gitea-external-renderers.Dockerfile

Gitea base image (rootless) with 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. Dont forget to update your app.ini file to enable desired providers.

docker build --build-arg VERSION=1.22.0 -f ./gitea-external-renderers.Dockerfile -t gitea-external-renderers:1.22.0 .