summaryrefslogtreecommitdiffhomepage
path: root/images/basic/fsstress
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2021-01-19 10:43:15 -0800
committergVisor bot <gvisor-bot@google.com>2021-01-19 10:46:59 -0800
commit1a072e298e76c59083f2732b24f9291f888d6c66 (patch)
tree97eb0c7dd45049e153079d79584aaa12a289666c /images/basic/fsstress
parentf5736fa2bf91e1bb3fd9f9625dba8c800bf2adb5 (diff)
[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
Diffstat (limited to 'images/basic/fsstress')
-rw-r--r--images/basic/fsstress/Dockerfile2
1 files changed, 1 insertions, 1 deletions
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