瀏覽代碼

Update tfb-startup.sh

Fix problem with permissions in startup script
Nate 2 年之前
父節點
當前提交
df42fe0f2f
共有 1 個文件被更改,包括 3 次插入1 次删除
  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 \