diff --git a/fedora-atomic/Containerfile.rust-distrobox b/fedora-atomic/Containerfile.rust-distrobox new file mode 100644 index 0000000..aa2d325 --- /dev/null +++ b/fedora-atomic/Containerfile.rust-distrobox @@ -0,0 +1,14 @@ +FROM registry.fedoraproject.org/fedora-toolbox:41 + +RUN sudo dnf5 group install -y \ + development-tools \ + c-development + +RUN sudo dnf5 install -y \ + python3-build \ + python3-pip \ + flatpak-builder \ + openssl \ + scdoc \ + ninja-build \ + clang-tools-extra diff --git a/fedora-atomic/build-distrobox.sh b/fedora-atomic/build-distrobox.sh index 00c6669..a91b091 100755 --- a/fedora-atomic/build-distrobox.sh +++ b/fedora-atomic/build-distrobox.sh @@ -4,7 +4,7 @@ readonly CMD=$(basename "${0}") function usage() { echo - echo "usage: ${CMD} [fedora|debian]" + echo "usage: ${CMD} [fedora|debian|rust]" echo exit 1 } @@ -23,6 +23,10 @@ case "${1}" in NAME="debian-bookworm" IMAGE="debian-thrrgilag:bookworm" BUILDFILE="Containerfile.debian-distrobox";; + rust) + NAME="rusty" + IMAGE="rusty-fedora:41" + BUILDFILE="Containerfile.rust-distrobox";; *) usage exit 0;;