Skip to content

Commit 63749ec

Browse files
roypatbchalios
authored andcommitted
fix(make_release): create the build directory as non-root
Unless we call `ensure_build_dir`, the build directory will be created inside the Docker container as root and subsequent builds will fail. Fix this by making sure exists before building with proper permissions. Signed-off-by: Babis Chalios <[email protected]>
1 parent df56fef commit 63749ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/devtool

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ cmd_build() {
496496
}
497497

498498
function cmd_make_release {
499+
ensure_build_dir
499500
run_devctr \
500501
--user "$(id -u):$(id -g)" \
501502
--workdir "$CTR_FC_ROOT_DIR" \

0 commit comments

Comments
 (0)