Added custom rootless Gitea Dockerfile
This commit is contained in:
parent
23ad2a7881
commit
afb5295305
17
README.adoc
17
README.adoc
@ -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]
|
||||||
----
|
----
|
||||||
@ -27,4 +27,17 @@ 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
|
9
gitea-external-renderers.Dockerfile
Normal file
9
gitea-external-renderers.Dockerfile
Normal 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
|
Loading…
Reference in New Issue
Block a user