From 238fd3b539679a9f53f0b9523f8e4b8d749697d2 Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Sun, 18 Jan 2026 15:20:57 +0100 Subject: Use Containerfiles for builds --- build-containers/fedora43/Containerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 build-containers/fedora43/Containerfile (limited to 'build-containers/fedora43') diff --git a/build-containers/fedora43/Containerfile b/build-containers/fedora43/Containerfile new file mode 100644 index 0000000..55f8329 --- /dev/null +++ b/build-containers/fedora43/Containerfile @@ -0,0 +1,23 @@ +FROM fedora:43 + +RUN dnf install -y \ + make \ + clang \ + lld \ + curl \ + tar \ + gzip \ + gettext \ + gtk4-devel \ + libadwaita-devel \ + gtksourceview5-devel \ + pkg-config \ + && dnf clean all + +# Install rust toolchain +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +ENV PATH="/root/.cargo/bin:${PATH}" + +# Install cargo-generate-rpm +RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash \ + && cargo binstall cargo-generate-rpm --no-confirm -- cgit