aboutsummaryrefslogtreecommitdiff
path: root/build-containers/trixie/Containerfile
diff options
context:
space:
mode:
Diffstat (limited to 'build-containers/trixie/Containerfile')
-rw-r--r--build-containers/trixie/Containerfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/build-containers/trixie/Containerfile b/build-containers/trixie/Containerfile
new file mode 100644
index 0000000..4e4c10f
--- /dev/null
+++ b/build-containers/trixie/Containerfile
@@ -0,0 +1,26 @@
+FROM debian:trixie
+
+ENV DEBIAN_FRONTEND=noninteractive
+
+RUN apt-get update && apt-get install -y \
+ make \
+ clang \
+ lld \
+ curl \
+ tar \
+ gzip \
+ gettext \
+ libgtk-4-dev \
+ libadwaita-1-dev \
+ libgtksourceview-5-dev \
+ pkg-config \
+ && apt-get clean \
+ && rm -rf /var/lib/apt/lists/*
+
+# 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-deb
+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-deb --no-confirm