Explorar o código

Update tfb-startup.sh

Fix problem with permissions in startup script
Nate %!s(int64=2) %!d(string=hai) anos
pai
achega
df42fe0f2f
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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
 
 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"
 docker run \