diff --git a/almalinux/Dockerfile b/almalinux/Dockerfile index 4d95704..496331f 100644 --- a/almalinux/Dockerfile +++ b/almalinux/Dockerfile @@ -24,7 +24,6 @@ RUN mkdir -p /mnt/sys-root; \ less \ libibverbs \ libmetalink \ - libmetalink \ libnl3 \ libpcap \ libuser \ @@ -34,7 +33,6 @@ RUN mkdir -p /mnt/sys-root; \ openssl-pkcs11 \ passwd \ pciutils \ - pciutils \ pciutils-libs \ platform-python-pip \ procps-ng \ @@ -57,8 +55,7 @@ RUN mkdir -p /mnt/sys-root; \ which \ xz \ yum \ - yum-utils \ - ; \ + yum-utils;\ dnf --installroot /mnt/sys-root clean all; \ rm -rf /mnt/sys-root/var/cache/* /mnt/sys-root/var/log/dnf* /mnt/sys-root/var/log/yum.*; \ # cp /etc/yum.repos.d/*.repo /mnt/sys-root/etc/yum.repos.d/; \ @@ -75,7 +72,9 @@ FROM scratch COPY --from=system-build /mnt/sys-root/ / -ENV LANG=C.utf8 +ENV LANG=C.utf8 + +LABEL MAINTAINER="Bala Raman" RUN systemctl set-default multi-user.target; \ systemctl mask systemd-remount-fs.service \ diff --git a/clearlinux/Dockerfile.cl-wsl b/clearlinux/Dockerfile.cl-wsl index 1ba1f7f..2a27d3c 100644 --- a/clearlinux/Dockerfile.cl-wsl +++ b/clearlinux/Dockerfile.cl-wsl @@ -3,18 +3,22 @@ FROM clearlinux:latest AS builder ARG swupd_args # Move to latest Clear Linux release -RUN swupd update --no-boot-update $swupd_args - +RUN swupd update --no-boot-update $swupd_args # Install clean os-core bundle in target directory # using the new os version -RUN source /usr/lib/os-release \ - && mkdir /install_root \ - && swupd os-install \ - --bundles=containers-basic,binutils,which,cryptography,curl,make,jq,make,iproute2 \ +RUN source /usr/lib/os-release; \ + kdir /install_root; \ + swupd os-install \ +# --bundles=os-core + --bundles=os-core,binutils,which,cryptography,curl,make,jq,make,iproute2,less \ -V ${VERSION_ID} \ --path /install_root --statedir /swupd-state \ - --bundles=os-core --no-boot-update + --no-boot-update FROM scratch +# COPY --from=builder /install_root / +# +LABEL MAINTAINER="Bala Raman" +# CMD ["/bin/bash"] \ No newline at end of file