This commit is contained in:
+3
-1
@@ -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"]
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user