summaryrefslogtreecommitdiff
path: root/test/e2e/build/workdir-symlink
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-02 10:56:26 -0500
committerGitHub <noreply@github.com>2022-03-02 10:56:26 -0500
commited59b89a43c6d9f0bf691e536738fb8450bedfa9 (patch)
treeed3c97ca2cb90b11b557b4db9dcab97ee2e623c6 /test/e2e/build/workdir-symlink
parent7877b02aacf3e8d3d37f6283c6b8aa81688fd120 (diff)
parent0bd0ad59436436e93ac81ce46059d8618ed7766c (diff)
downloadpodman-ed59b89a43c6d9f0bf691e536738fb8450bedfa9.tar.gz
podman-ed59b89a43c6d9f0bf691e536738fb8450bedfa9.tar.bz2
podman-ed59b89a43c6d9f0bf691e536738fb8450bedfa9.zip
Merge pull request #13399 from flouthoc/resolve-workdir-symlink
container: workdir resolution must consider `symlink` if explicitly configured
Diffstat (limited to 'test/e2e/build/workdir-symlink')
-rw-r--r--test/e2e/build/workdir-symlink/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/e2e/build/workdir-symlink/Dockerfile b/test/e2e/build/workdir-symlink/Dockerfile
new file mode 100644
index 000000000..abc9b47ee
--- /dev/null
+++ b/test/e2e/build/workdir-symlink/Dockerfile
@@ -0,0 +1,5 @@
+FROM alpine
+RUN mkdir /tmp/destination
+RUN ln -s /tmp/destination /tmp/link
+WORKDIR /tmp/link
+CMD ["echo", "hello"]