aboutsummaryrefslogtreecommitdiff
path: root/build-containers/fedora44/Containerfile
diff options
context:
space:
mode:
Diffstat (limited to 'build-containers/fedora44/Containerfile')
-rw-r--r--build-containers/fedora44/Containerfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/build-containers/fedora44/Containerfile b/build-containers/fedora44/Containerfile
new file mode 100644
index 0000000..fb54803
--- /dev/null
+++ b/build-containers/fedora44/Containerfile
@@ -0,0 +1,24 @@
+FROM docker.io/library/fedora:44
+
+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
+