diff options
author | Theodore Ts'o <tytso@mit.edu> | 2023-03-06 20:48:08 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-03-06 20:48:08 -0500 |
commit | 35650073624aadb1e7ebab5306f9c183fc369f8d (patch) | |
tree | 2232b6b61c469f048036c6d919e1a79a5d9383cb | |
parent | 7f9eb16aaf7810462b6ff0b251f0ad3bdb7e609a (diff) | |
download | xfstests-bld-35650073624aadb1e7ebab5306f9c183fc369f8d.tar.gz |
Remove the run-fstests/Dockerfile
This was broken as part of the directory reorganization. It's not all
that useful, and would be non-trivial to fix, so let's just drop it
for now.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r-- | run-fstests/.dockerignore | 14 | ||||
-rw-r--r-- | run-fstests/Dockerfile | 50 |
2 files changed, 0 insertions, 64 deletions
diff --git a/run-fstests/.dockerignore b/run-fstests/.dockerignore deleted file mode 100644 index 44bf70c0..00000000 --- a/run-fstests/.dockerignore +++ /dev/null @@ -1,14 +0,0 @@ -*~ -*.old -*.rej -.dockerignore -config.custom -test-appliance/var.cache.apt.archives -test-appliance/var.lib.apt.lists -test-appliance/debs -test-appliance/mirror -test-appliance/root_fs.* -!test-appliance/root_fs.img -logs -disks - diff --git a/run-fstests/Dockerfile b/run-fstests/Dockerfile deleted file mode 100644 index 5d689b32..00000000 --- a/run-fstests/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# This Dockerfile creates a kvm-xfstests runtime environment -# -# For reasonable performance one needs to grant access to /dev/kvm -# -# Example usage: -# docker run --device /dev/kvm:/dev/kvm \ -# -v /my-kernel:/tmp tytso/kvm-xfstests \ -# kvm-xfstests --kernel /tmp/vmlinuz smoke -# -# VERSION 0.2 -FROM alpine - -RUN apk add --no-cache --update \ - bash \ - e2fsprogs-libs \ - e2fsprogs \ - e2fsprogs-extra \ - curl \ - util-linux \ - qemu-img \ - qemu-system-x86_64 \ - tar - -MAINTAINER Theodore Y. Ts'o tytso@mit.edu - -COPY . /usr/local/lib/kvm-xfstests - -ARG IMAGE_URL=https://www.kernel.org/pub/linux/kernel/people/tytso/kvm-xfstests/root_fs.img.i386 - -RUN cd /usr/local/lib/kvm-xfstests && \ - mkdir -p /usr/local/bin && \ - sed -e 's;@DIR@;/usr/local/lib;' < kvm-xfstests.in > /usr/local/bin/kvm-xfstests && \ - chmod +x /usr/local/bin/kvm-xfstests && \ - sed -ie "s/QEMU=.*/QEMU=qemu-system-x86_64/g" config.kvm && \ - mkdir -p /logs && \ - ln -s /logs logs && \ - cd test-appliance && \ - ln -s /linux /root/linux && \ - if ! test -f root_fs.img ; then \ - curl -o root_fs.img $IMAGE_URL ; \ - fi - -ENV SAMPLE_KERNEL_URL=https://dl.fedoraproject.org/pub/fedora/linux/releases/26/Server/x86_64/os/images/pxeboot - -# The default command serves merely as a demo and can be used as a -# sanity check that docker image was built correctly. -CMD curl -o /tmp/initrd.img $SAMPLE_KERNEL_URL/initrd.img && \ - curl -o /tmp/vmlinuz $SAMPLE_KERNEL_URL/vmlinuz && \ - kvm-xfstests --kernel /tmp/vmlinuz \ - --initrd /tmp/initrd.img smoke |