aboutsummaryrefslogtreecommitdiff
path: root/build-containers/fedora44/Containerfile
blob: fb5480310e888956aed37a58c629c20a5a61aa40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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