This commit is contained in:
Crizomb 2025-12-30 16:43:27 +01:00
parent 39659b6fd2
commit 5fe83f34b9
9 changed files with 46 additions and 1 deletions

11
RustImage/Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM git.rufous-trench.ts.net/crizomb/forgejo-action-base:deb13-node20
# No version specified here and it's ok, I live with it
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y \
--profile minimal \
--default-toolchain stable
ENV PATH="/root/.cargo/bin:${PATH}"
# Sanity check
RUN rustc --version && cargo --version

3
RustImage/build.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
sudo docker build -t git.rufous-trench.ts.net/crizomb/forgejo-action-rust:deb13-node20 .
# To adapt manualy with version, and name

3
RustImage/push.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
sudo docker push git.rufous-trench.ts.net/crizomb/forgejo-action-rust:deb13-node20
# To adapt manualy with version, and name