Refactor Containerfile and update build-iso.sh for improved ISO generation and module customization
Some checks failed
ci/woodpecker/push/ci Pipeline failed
Some checks failed
ci/woodpecker/push/ci Pipeline failed
This commit is contained in:
@@ -7,29 +7,14 @@ RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc \
|
||||
#Ajout du dépot mullvad
|
||||
RUN curl -fsSL https://repository.mullvad.net/rpm/stable/mullvad.repo -o /etc/yum.repos.d/mullvad.repo
|
||||
|
||||
#Ajout du dépot avengemedia pour DMS (DankMaterialShell)
|
||||
RUN dnf install -y 'dnf5-command(copr)' \
|
||||
&& dnf copr enable avengemedia/dms -y \
|
||||
&& dnf copr enable avengemedia/danklinux -y
|
||||
|
||||
#Ajout du dépot Niri desktop
|
||||
RUN dnf copr enable yalter/niri -y
|
||||
|
||||
#Install de gnome avec support hardware + Podman + Cups + Vulkan driver + Plymouth + dev tools + divers utilitaires
|
||||
RUN dnf install -y \
|
||||
-x gnome-software gnome-software-rpm-ostree gnome-system-monitor showtime decibels snapshot PackageKit PackageKit-gstreamer-plugin PackageKit-command-not-found toolbox \
|
||||
@gnome-desktop \
|
||||
@hardware-support \
|
||||
@development-tools \
|
||||
@multimedia \
|
||||
mesa-vulkan-drivers \
|
||||
mesa-vulkan-drivers.i686 \
|
||||
vulkan-loader \
|
||||
vulkan-loader.i686 \
|
||||
vulkan-tools \
|
||||
gamescope \
|
||||
niri \
|
||||
dsearch \
|
||||
dms \
|
||||
glibc-langpack-fr \
|
||||
langpacks-core-fr \
|
||||
langpacks-fr \
|
||||
@@ -60,7 +45,6 @@ RUN dnf install -y \
|
||||
gstreamer1-plugins-base \
|
||||
gstreamer1-vaapi \
|
||||
ffmpeg \
|
||||
&& dnf remove -y alacritty waybar gnome-software gnome-software-rpm-ostree gnome-system-monitor showtime decibels snapshot PackageKit PackageKit-gstreamer-plugin PackageKit-command-not-found toolbox || true \
|
||||
&& dnf clean all \
|
||||
&& rm -rf /var/cache/dnf
|
||||
|
||||
|
||||
@@ -19,11 +19,13 @@ sudo podman run --rm -it \
|
||||
--pull=newer \
|
||||
--security-opt label=type:unconfined_t \
|
||||
-v $(pwd)/output:/output \
|
||||
-v "./iso.toml:/config.toml:ro" \
|
||||
-v /var/lib/containers/storage:/var/lib/containers/storage \
|
||||
quay.io/centos-bootc/bootc-image-builder:latest \
|
||||
--type anaconda-iso \
|
||||
--type iso \
|
||||
--local \
|
||||
--rootfs btrfs \
|
||||
--use-lib-repo=true \
|
||||
localhost/${IMAGE_NAME}:${IMAGE_TAG}
|
||||
|
||||
echo "[SUCCÈS] ISO généré dans $OUTPUT_DIR"
|
||||
14
iso.toml
Normal file
14
iso.toml
Normal file
@@ -0,0 +1,14 @@
|
||||
[customizations.installer.modules]
|
||||
enable = [
|
||||
"org.fedoraproject.Anaconda.Modules.Storage",
|
||||
"org.fedoraproject.Anaconda.Modules.Runtime",
|
||||
"org.fedoraproject.Anaconda.Modules.Network",
|
||||
"org.fedoraproject.Anaconda.Modules.Security",
|
||||
"org.fedoraproject.Anaconda.Modules.Services",
|
||||
"org.fedoraproject.Anaconda.Modules.Users",
|
||||
"org.fedoraproject.Anaconda.Modules.Timezone"
|
||||
]
|
||||
|
||||
disable = [
|
||||
"org.fedoraproject.Anaconda.Modules.Subscription",
|
||||
]
|
||||
Reference in New Issue
Block a user