1
0
mirror of https://github.com/AlmaLinux/ks2rootfs.git synced 2024-11-22 01:23:08 +00:00

Update Dockerfile.livecd

This commit is contained in:
Bala Raman 2021-08-08 23:46:11 -04:00 committed by GitHub
parent db88cc2bfb
commit 7de3aaaf4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,9 +7,15 @@ FROM almalinux:8 as builder
RUN dnf install -y epel-release elrepo-release && \ RUN dnf install -y epel-release elrepo-release && \
dnf upgrade -y && \ dnf upgrade -y && \
mkdir -p /mnt/system-root /mnt/system-root/build; \ mkdir -p /mnt/system-root /mnt/system-root/build; \
dnf install --installroot /mnt/system-root --releasever 8 --setopt=install_weak_deps=False --setopt=tsflags=nodocs -y dnf systemd \ dnf install --enablerepo="powertools" --enablerepo="epel" --enablerepo="elrepo" --installroot /mnt/system-root --releasever 8 --setopt=install_weak_deps=False --setopt=tsflags=nodocs -y \
livecd-tools pykickstart \ dnf \
tar ; \ systemd \
livecd-tools \
pykickstart \
hfsplus-tools \
grub2-efi-x64 \
grub2-efi-x64-cdboot \
shim-x64 ; \
rm -rf /mnt/system-root/var/cache/* ; \ rm -rf /mnt/system-root/var/cache/* ; \
dnf clean all; \ dnf clean all; \
cp /etc/yum.repos.d/* /mnt/system-root/etc/yum.repos.d/ ; \ cp /etc/yum.repos.d/* /mnt/system-root/etc/yum.repos.d/ ; \