diff --git a/Containerfile b/Containerfile index 771548a..17b4d4c 100644 --- a/Containerfile +++ b/Containerfile @@ -27,6 +27,7 @@ RUN dnf install -y \ vulkan-loader \ vulkan-tools \ mesa-vulkan-drivers \ + xorg-x11-drv-amdgpu \ plymouth \ plymouth-system-theme \ plymouth-plugin-label \ @@ -55,6 +56,8 @@ RUN flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flath && flatpak install -y --system flathub runtime/org.gnome.Platform/x86_64/49 \ && flatpak install -y --system flathub io.github.kolunmi.Bazaar +RUN systemctl set-default graphical.target + #Activation des services RUN systemctl preset-all && \ systemctl enable gdm.service NetworkManager.service bluetooth.service podman.socket cups.service \ No newline at end of file diff --git a/build-iso.sh b/build-iso.sh index 649ed72..7c8139b 100755 --- a/build-iso.sh +++ b/build-iso.sh @@ -23,7 +23,7 @@ sudo podman run --rm -it \ quay.io/centos-bootc/bootc-image-builder:latest \ --type anaconda-iso \ --local \ - --rootfs xfs \ + --rootfs btrfs \ localhost/${IMAGE_NAME}:${IMAGE_TAG} echo "[SUCCÈS] ISO généré dans $OUTPUT_DIR" \ No newline at end of file diff --git a/build.sh b/build.sh index 168dae1..b9f484a 100755 --- a/build.sh +++ b/build.sh @@ -5,9 +5,6 @@ IMAGE_NAME="tintounn/my-fedora" IMAGE_TAG="latest" OUTPUT_DIR="output/" -export TMPDIR=/data/buildah -mkdir -p /data/buildah - echo "[INFO] Build de l'image avec sudo..." -TMPDIR=/data/buildah buildah bud --isolation chroot -t localhost/${IMAGE_NAME}:${IMAGE_TAG} . +buildah bud --isolation chroot -t localhost/${IMAGE_NAME}:${IMAGE_TAG} .