diff options
author | 2018-12-03 23:21:54 -0500 | |
---|---|---|
committer | 2018-12-03 23:21:54 -0500 | |
commit | 3c246ef7e64a38efc188d3b116ef7fc620a3a9ed (patch) | |
tree | b503d1304010b59161c8e082cc4f865f9fdf8260 | |
parent | Initial commit of rsync docker stuff. (diff) | |
download | antarus-3c246ef7e64a38efc188d3b116ef7fc620a3a9ed.tar.gz antarus-3c246ef7e64a38efc188d3b116ef7fc620a3a9ed.tar.bz2 antarus-3c246ef7e64a38efc188d3b116ef7fc620a3a9ed.zip |
Ensure WORKDIR exists.
Signed-off-by: Alec Warner <antarus@gentoo.org>
-rw-r--r-- | src/infra.gentoo.org/rsync-node/Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/infra.gentoo.org/rsync-node/Dockerfile b/src/infra.gentoo.org/rsync-node/Dockerfile index 3530c25..2098508 100644 --- a/src/infra.gentoo.org/rsync-node/Dockerfile +++ b/src/infra.gentoo.org/rsync-node/Dockerfile @@ -15,6 +15,9 @@ ENV DEST_DIR=/dev/shm/gentoo # How long to wait between syncs; must be a valid argument to sleep ENV WAIT_TIME=10m +# This needs to exist in the container. +WORKDIR $DEST_DIR + # Expose Rsync port EXPOSE 873 |