first commit

This commit is contained in:
2025-11-24 20:58:24 +01:00
commit f4521782be
4 changed files with 53 additions and 0 deletions

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM ubuntu:22.04 as final
ARG RUNNER_VERSION=0.2.13
# needed always
RUN apt-get update && \
apt-get install wget curl software-properties-common golang -y && \
cd ~ && curl -sL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh && \
bash nodesource_setup.sh && apt install nodejs
RUN mkdir -p /app && \
chmod -R 777 /app && \
mkdir /config && \
chmod 777 /config
RUN wget "https://gitea.com/gitea/act_runner/releases/download/v${RUNNER_VERSION}/act_runner-${RUNNER_VERSION}-linux-amd64" && \
mv "act_runner-${RUNNER_VERSION}-linux-amd64" "/app/act_runner" && \
chmod 777 /app/act_runner
COPY "./entrypoint.sh" "/app/entrypoint.sh"
ENTRYPOINT "/app/entrypoint.sh"