diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-05-21 11:06:28 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-21 11:08:10 -0700 |
commit | cdf48e851670f8f333f61e7621e0aa7d495d98fe (patch) | |
tree | a0bc2f13af52af5e4a6229542692662bec80a915 /images | |
parent | 7bde26934ae6d39649a31f6c77a4bc210277085a (diff) |
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
Diffstat (limited to 'images')
-rw-r--r-- | images/tmpfile/Dockerfile | 4 |
1 files changed, 4 insertions, 0 deletions
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 |