12 lines
427 B
Docker
12 lines
427 B
Docker
FROM gitea.psi.ch/images/rhel9
|
|
|
|
RUN dnf install -y git nodejs rsync cmake \
|
|
&& 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/run.sh"]
|