github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/images/basic/fsstress/Dockerfile.x86_64 (about) 1 # Usage: docker run --rm fsstress -d /test -n 10000 -p 100 -X -v 2 FROM alpine 3 4 RUN apk update && apk add git 5 RUN git clone https://github.com/linux-test-project/ltp.git --depth 1 6 7 WORKDIR /ltp 8 RUN ./travis/alpine.sh 9 RUN make autotools && ./configure 10 RUN make -C testcases/kernel/fs/fsstress 11 RUN cp ./testcases/kernel/fs/fsstress/fsstress /usr/bin 12 RUN rm -rf /fsstress /tmp 13 14 WORKDIR / 15 # This is required, otherwise running with -p > 1 prematurelly exits. 16 COPY run.sh . 17 ENTRYPOINT ["/run.sh"]