mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
[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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user