aboutsummaryrefslogtreecommitdiff
path: root/build-containers/fedora-rawhide/Containerfile
blob: 686933062abbe3bebe0423e499dcef62baa4e2fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM docker.io/library/fedora:rawhide

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