From 1a072e298e76c59083f2732b24f9291f888d6c66 Mon Sep 17 00:00:00 2001 From: Ayush Ranjan Date: Tue, 19 Jan 2021 10:43:15 -0800 Subject: [infra] Attempt to fix Kokoro image workflow. #5274 broke `make load-basic_fsstress` target. It works locally but for some inconceivable reason it fails to build on Kokoro. Error message: ``` Step 1/12 : FROM alpine ---> 1fca6fe4a1ec Step 2/12 : RUN apk add git ---> Running in 109a5326259a standard_init_linux.go:207: exec user process caused "no such file or directory" The command '/bin/sh -c apk add git' returned a non-zero code: 1 make: *** [load-basic_fsstress] Error 1 tools/images.mk:149: recipe for target 'load-basic_fsstress' failed ``` Copied the approach from the following issue to achieve the same goal: https://github.com/nodejs/docker-node/issues/586#issue-273737852. PiperOrigin-RevId: 352602945 --- images/basic/fsstress/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'images/basic/fsstress') diff --git a/images/basic/fsstress/Dockerfile b/images/basic/fsstress/Dockerfile index 84604ead5..21b86065a 100644 --- a/images/basic/fsstress/Dockerfile +++ b/images/basic/fsstress/Dockerfile @@ -1,7 +1,7 @@ # Usage: docker run --rm fsstress -d /test -n 10000 -p 100 -X -v FROM alpine -RUN apk add git +RUN apk update && apk add git RUN git clone https://github.com/linux-test-project/ltp.git --depth 1 WORKDIR /ltp -- cgit v1.2.3