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
1 changed files with 9 additions and 3 deletions

View File

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