From cdf48e851670f8f333f61e7621e0aa7d495d98fe Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Thu, 21 May 2020 11:06:28 -0700 Subject: Fix TestTmpFile Split check for file in /tmp from working directory test. Fix readonly case which should not fail to create working dir. PiperOrigin-RevId: 312702930 --- images/tmpfile/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 images/tmpfile/Dockerfile (limited to 'images/tmpfile/Dockerfile') diff --git a/images/tmpfile/Dockerfile b/images/tmpfile/Dockerfile new file mode 100644 index 000000000..e3816c8cb --- /dev/null +++ b/images/tmpfile/Dockerfile @@ -0,0 +1,4 @@ +# Create file under /tmp to ensure files inside '/tmp' are not overridden. +FROM alpine:3.11.5 +RUN mkdir -p /tmp/foo \ + && echo 123 > /tmp/foo/file.txt -- cgit v1.2.3