From 66828b05eedb8d2e4b078bdf2cf8eac5a2e0f273 Mon Sep 17 00:00:00 2001 From: ebner Date: Mon, 13 Jul 2026 13:49:41 +0200 Subject: [PATCH] add run script --- Dockerfile | 4 +++- Readme.md | 4 ++++ run.sh | 0 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Readme.md create mode 100644 run.sh diff --git a/Dockerfile b/Dockerfile index 3ec6907..d0705ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,8 @@ RUN dnf install -y git nodejs rsync \ && dnf clean all RUN curl -o /usr/bin/gitea-runner -L https://gitea.com/gitea/runner/releases/download/v2.0.1/gitea-runner-2.0.1-linux-amd64 \ && chmod +x /usr/bin/gitea-runner +COPY run.sh /usr/bin/run.sh +RUN chmod +x /usr/bin/run.sh # CMD ["/usr/bin/gitea-runner", "run", "--config", "/etc/gitea-runner/config.toml"] -CMD ["/usr/bin/gitea-runner", "run"] +CMD ["/usr/bin/run.sh"] diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..b81f080 --- /dev/null +++ b/Readme.md @@ -0,0 +1,4 @@ +# Overview + +run.sh is taken from the gitea-runner repository and is used to start the runner. +https://gitea.com/gitea/runner/src/branch/main/scripts/run.sh diff --git a/run.sh b/run.sh new file mode 100644 index 0000000..e69de29