gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/images/basic/fsstress/Dockerfile (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 ./ci/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"]