Browse Source

Update tfb-startup.sh

Fix problem with permissions in startup script
Nate 2 years ago
parent
commit
df42fe0f2f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      toolset/continuous/tfb-startup.sh

+ 3 - 1
toolset/continuous/tfb-startup.sh

@@ -21,7 +21,9 @@ echo "moving to tfb directory"
 cd $TFB_REPOPARENT/$TFB_REPONAME
 cd $TFB_REPOPARENT/$TFB_REPONAME
 
 
 echo "building tfb docker image"
 echo "building tfb docker image"
-docker build -t techempower/tfb .
+docker build -t techempower/tfb \
+  --build-arg USER_ID=$(id -u) \
+  --build-arg GROUP_ID=$(id -g) .
 
 
 echo "running tfb docker image"
 echo "running tfb docker image"
 docker run \
 docker run \