summaryrefslogtreecommitdiffstats
path: root/.forgejo/testdata/build-release/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.forgejo/testdata/build-release/Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/.forgejo/testdata/build-release/Dockerfile b/.forgejo/testdata/build-release/Dockerfile
new file mode 100644
index 0000000..4ef67d3
--- /dev/null
+++ b/.forgejo/testdata/build-release/Dockerfile
@@ -0,0 +1,6 @@
+FROM code.forgejo.org/oci/alpine:3.20
+ARG RELEASE_VERSION=unkown
+LABEL maintainer="contact@forgejo.org" \
+ org.opencontainers.image.version="${RELEASE_VERSION}"
+RUN mkdir -p /app/gitea
+RUN ( echo '#!/bin/sh' ; echo "echo forgejo v$RELEASE_VERSION" ) > /app/gitea/gitea ; chmod +x /app/gitea/gitea