Containerfiles, add rclone, rsync to toolboxes
This commit is contained in:
parent
a551468585
commit
bb1468170d
9 changed files with 4 additions and 2 deletions
20
gitea-runner/Containerfile
Normal file
20
gitea-runner/Containerfile
Normal file
|
@ -0,0 +1,20 @@
|
|||
FROM quay.io/podman/stable
|
||||
|
||||
RUN mkdir -p /opt /var/run && \
|
||||
ln -sf /podman/docker.sock /var/run/docker.sock
|
||||
|
||||
RUN dnf install -y make go git && \
|
||||
cd /tmp && \
|
||||
git clone https://gitea.com/gitea/act_runner.git && \
|
||||
cd act_runner && \
|
||||
make build && \
|
||||
mv /tmp/act_runner/act_runner /opt/ && \
|
||||
chown podman /opt/act_runner && \
|
||||
dnf remove -y make go git && \
|
||||
dnf autoremove -y && \
|
||||
dnf clean all && \
|
||||
rm -rf /tmp/* /root/go
|
||||
|
||||
USER podman
|
||||
|
||||
ENTRYPOINT [ "/opt/act_runner" ]
|
Loading…
Add table
Add a link
Reference in a new issue