Added custom rootless Gitea Dockerfile

This commit is contained in:
syrell 2023-12-16 20:08:43 +01:00
parent 23ad2a7881
commit afb5295305
Signed by: syrell
GPG Key ID: BC9570E849334AF9
2 changed files with 24 additions and 2 deletions

View File

@ -18,7 +18,7 @@ docker push git.syyrell.com/{owner}/{image}:{tag}
=== caddy-duckdns.Dockerfile === caddy-duckdns.Dockerfile
Caddy base image with https://github.com/caddy-dns/duckdns[duckdns module] added. There is a `VERSION` variable required 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.
[source,shell] [source,shell]
---- ----
@ -28,3 +28,16 @@ docker build --build-arg VERSION=2.7.6 -f ./caddy-duckdns.Dockerfile -t caddy-du
Existing pre-built images : Existing pre-built images :
* git.syyrell.com/syrell/caddy-duckdns:2.7.6 * git.syyrell.com/syrell/caddy-duckdns: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 VERSION=1.21.1 -f ./gitea-external-renderers.Dockerfile -t gitea-external-renderers:1.21.1 .
----
Existing pre-built images :
* git.syyrell.com/syrell/gitea-external-renderers:1.21.1

View File

@ -0,0 +1,9 @@
ARG VERSION=latest
FROM gitea/gitea:${VERSION}-rootless
USER root
RUN apk --no-cache add \
asciidoctor \
pandoc
USER 1000:1000