projects
/
pgeu-system.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8456654
)
Set uid in sample docker command
author
Magnus Hagander
<magnus@hagander.net>
Sun, 14 Sep 2025 12:18:21 +0000
(14:18 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Sun, 14 Sep 2025 12:18:21 +0000
(14:18 +0200)
This avoids the default of creating files owned by root
tools/deploystatic/README.docker
patch
|
blob
|
blame
|
history
diff --git
a/tools/deploystatic/README.docker
b/tools/deploystatic/README.docker
index 460a5487431adf32d59b5cc8f0d1c7148d830ef6..754165189eb274ea4b80fbc9d960100df3984aed 100644
(file)
--- a/
tools/deploystatic/README.docker
+++ b/
tools/deploystatic/README.docker
@@
-16,7
+16,7
@@
Deploying a directory
---------------------
To use this container to deploy to a static directory, use:
-docker run -it --rm -v `pwd`:/source -v /tmp/statictest:/target deploystatic
+docker run -it --rm -v `pwd`:/source -v /tmp/statictest:/target
-u `id -u`
deploystatic
(In this case taking the templates in the current directory and deploying the
result to /tmp/statictest - adjust for your own directories)