update
This commit is contained in:
@@ -27,6 +27,7 @@ RUN dnf install -y \
|
|||||||
vulkan-loader \
|
vulkan-loader \
|
||||||
vulkan-tools \
|
vulkan-tools \
|
||||||
mesa-vulkan-drivers \
|
mesa-vulkan-drivers \
|
||||||
|
xorg-x11-drv-amdgpu \
|
||||||
plymouth \
|
plymouth \
|
||||||
plymouth-system-theme \
|
plymouth-system-theme \
|
||||||
plymouth-plugin-label \
|
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 runtime/org.gnome.Platform/x86_64/49 \
|
||||||
&& flatpak install -y --system flathub io.github.kolunmi.Bazaar
|
&& flatpak install -y --system flathub io.github.kolunmi.Bazaar
|
||||||
|
|
||||||
|
RUN systemctl set-default graphical.target
|
||||||
|
|
||||||
#Activation des services
|
#Activation des services
|
||||||
RUN systemctl preset-all && \
|
RUN systemctl preset-all && \
|
||||||
systemctl enable gdm.service NetworkManager.service bluetooth.service podman.socket cups.service
|
systemctl enable gdm.service NetworkManager.service bluetooth.service podman.socket cups.service
|
||||||
@@ -23,7 +23,7 @@ sudo podman run --rm -it \
|
|||||||
quay.io/centos-bootc/bootc-image-builder:latest \
|
quay.io/centos-bootc/bootc-image-builder:latest \
|
||||||
--type anaconda-iso \
|
--type anaconda-iso \
|
||||||
--local \
|
--local \
|
||||||
--rootfs xfs \
|
--rootfs btrfs \
|
||||||
localhost/${IMAGE_NAME}:${IMAGE_TAG}
|
localhost/${IMAGE_NAME}:${IMAGE_TAG}
|
||||||
|
|
||||||
echo "[SUCCÈS] ISO généré dans $OUTPUT_DIR"
|
echo "[SUCCÈS] ISO généré dans $OUTPUT_DIR"
|
||||||
5
build.sh
5
build.sh
@@ -5,9 +5,6 @@ IMAGE_NAME="tintounn/my-fedora"
|
|||||||
IMAGE_TAG="latest"
|
IMAGE_TAG="latest"
|
||||||
OUTPUT_DIR="output/"
|
OUTPUT_DIR="output/"
|
||||||
|
|
||||||
export TMPDIR=/data/buildah
|
|
||||||
mkdir -p /data/buildah
|
|
||||||
|
|
||||||
echo "[INFO] Build de l'image avec sudo..."
|
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} .
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user