gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] 02/02: comment


From: gnunet
Subject: [taler-deployment] 02/02: comment
Date: Thu, 17 Nov 2022 10:13:11 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository deployment.

commit 955f83f174fb4554018d30604a0cb2d61577786d
Author: MS <ms@taler.net>
AuthorDate: Thu Nov 17 09:48:13 2022 +0100

    comment
---
 docker/demo/images/base/Dockerfile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/docker/demo/images/base/Dockerfile 
b/docker/demo/images/base/Dockerfile
index 6377883..91cc9c0 100644
--- a/docker/demo/images/base/Dockerfile
+++ b/docker/demo/images/base/Dockerfile
@@ -13,9 +13,12 @@ RUN pip3 install requests click poetry uwsgi htmlark
 ARG tags_file
 # The following command provides a conditional copy from
 # the host filesystem.  It mounts the current directory -
-# where the tags file might be - to /context in the container.
-# Note: build_base.sh 'cd' to the tags file's directory before
-# building, and sets $tags_file to the tags file's basename.
+# where the tags file MIGHT be - to /context in the container.
+# It appears NOT possible to mount arbitrary paths from the
+# host with "RUN --mount".  Hence, when a tags file is given,
+# the CWD has to be the one containing the tags file.  build_base.sh
+# sets (1) the CWD this way and (2) $tags_file to be the tags file
+# basename, before starting the compilation.
 RUN --mount=target=/context if test -n "$tags_file"; then cp \
 /context/${tags_file} /tags.sh; else touch /tags.sh; fi
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]