summaryrefslogtreecommitdiffstats
path: root/docker/manifest.rootless.tmpl
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2020-11-01 01:58:22 +0100
committerGitHub <noreply@github.com>2020-10-31 20:58:22 -0400
commitfe458ce877f520cc7f20116db4ff2a0536ff319b (patch)
tree6bdaa11737eb1317749e11d58da34e4423880604 /docker/manifest.rootless.tmpl
parentf3bbd46c49fb7a2e3407d4da0db511930c957e3c (diff)
downloadgitea-fe458ce877f520cc7f20116db4ff2a0536ff319b.tar.gz
gitea-fe458ce877f520cc7f20116db4ff2a0536ff319b.zip
docker: rootless image (#10154)
* docker: rootless image * improve docs + remove check for write perm on custom * add more info on ssh passtrough * Add comment for internal ssh server in container config
Diffstat (limited to 'docker/manifest.rootless.tmpl')
-rw-r--r--docker/manifest.rootless.tmpl19
1 files changed, 19 insertions, 0 deletions
diff --git a/docker/manifest.rootless.tmpl b/docker/manifest.rootless.tmpl
new file mode 100644
index 0000000000..2951be8b2d
--- /dev/null
+++ b/docker/manifest.rootless.tmpl
@@ -0,0 +1,19 @@
+image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-rootless
+{{#if build.tags}}
+tags:
+{{#each build.tags}}
+ - {{this}}
+{{/each}}
+{{/if}}
+manifests:
+ -
+ image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64-rootless
+ platform:
+ architecture: amd64
+ os: linux
+ -
+ image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64-rootless
+ platform:
+ architecture: arm64
+ os: linux
+ variant: v8