From fd4fd7d80de2fae27dcaba3877644713a88ff99d Mon Sep 17 00:00:00 2001 From: therealbobo Date: Tue, 25 Jul 2023 15:19:08 +0200 Subject: [PATCH] fix: removed flaky image Signed-off-by: Roberto Scolaro --- .../x86_64/archlinux/5.18/Dockerfile | 35 ------------------- .../x86_64/archlinux/5.18/Dockerfile.kernel | 29 --------------- 2 files changed, 64 deletions(-) delete mode 100644 images/static-images/x86_64/archlinux/5.18/Dockerfile delete mode 100644 images/static-images/x86_64/archlinux/5.18/Dockerfile.kernel diff --git a/images/static-images/x86_64/archlinux/5.18/Dockerfile b/images/static-images/x86_64/archlinux/5.18/Dockerfile deleted file mode 100644 index 621b0c5..0000000 --- a/images/static-images/x86_64/archlinux/5.18/Dockerfile +++ /dev/null @@ -1,35 +0,0 @@ -FROM archlinux:base - -ARG VERSION=5.18.16.arch1-1 -ARG URL='https://archive.archlinux.org/packages' - -WORKDIR /home/ubuntu - -RUN pacman -Syyu --noconfirm && \ - pacman -S --noconfirm \ - clang \ - cmake \ - gcc \ - git \ - libcap \ - llvm \ - make \ - openssh \ - python \ - rsync \ - wget && \ - yes | pacman -Scc && \ - curl -Lo headers.tar.zst ${URL}/l/linux-headers/linux-headers-${VERSION}-x86_64.pkg.tar.zst && \ - curl -Lo bpf.tar.zst ${URL}/b/bpf/bpf-5.18-1-x86_64.pkg.tar.zst && \ - pacman -U --noconfirm ./headers.tar.zst && \ - pacman -U --noconfirm ./bpf.tar.zst && \ - rm -v ./headers.tar.zst ./bpf.tar.zst && \ - ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime && \ - echo 'LANG=en_US.UTF-8' > /etc/locale.gen && \ - locale-gen && \ - echo 'LANG=en_US.UTF-8' > /etc/locale.conf && \ - echo 'archlinux' > /etc/hostname && \ - systemctl enable sshd && \ - sed -i -e 's/^AcceptEnv LANG LC_\*$/#AcceptEnv LANG LC_*/' /etc/ssh/sshd_config && \ - echo 'UseDNS no' >> /etc/ssh/sshd_config && \ - echo "root:root" | chpasswd diff --git a/images/static-images/x86_64/archlinux/5.18/Dockerfile.kernel b/images/static-images/x86_64/archlinux/5.18/Dockerfile.kernel deleted file mode 100644 index 2c6ffcd..0000000 --- a/images/static-images/x86_64/archlinux/5.18/Dockerfile.kernel +++ /dev/null @@ -1,29 +0,0 @@ -ARG VERSION=5.18.16.arch1-1 -ARG URL='https://archive.archlinux.org/packages/l' -ARG ARCH=x86_64 - -FROM initrd-builder:0.0.1 AS builder - -ARG VERSION -ARG URL -ARG ARCH - -WORKDIR /home/ubuntu - -RUN touch .placeholder && \ - curl -Lo kernel.pkg.tar.zst ${URL}/linux/linux-${VERSION}-${ARCH}.pkg.tar.zst && \ - curl -Lo headers.pkg.tar.zst ${URL}/linux-headers/linux-headers-${VERSION}-${ARCH}.pkg.tar.zst && \ - mkdir extracted && \ - cd extracted && \ - ls ../*.tar.zst | \ - xargs -I@ tar -xaf @ && \ - find . -name '*.zst' -exec zstd -d --rm -f {} \; && \ - mv ./usr/lib . && \ - extract-vmlinux $(find . -name 'vmlinux') > vmlinux && \ - /opt/initrd-builder/create.sh - -FROM scratch - -COPY --from=builder /home/ubuntu/extracted/vmlinux /boot/ -COPY --from=builder /home/ubuntu/out/initrd /boot/ -COPY --from=builder /home/ubuntu/.placeholder /lib/modules/