add container build to test rust stuff
This commit is contained in:
parent
75bbe4a9d8
commit
c507d63ff2
2 changed files with 19 additions and 1 deletions
14
fedora-atomic/Containerfile.rust-distrobox
Normal file
14
fedora-atomic/Containerfile.rust-distrobox
Normal file
|
@ -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
|
|
@ -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;;
|
||||
|
|
Loading…
Reference in a new issue