Skip to content

Commit d3b02e0

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. (cherry picked from commit 63749ec) Signed-off-by: Babis Chalios <bchalios@amazon.es>
1 parent e58dbc0 commit d3b02e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/devtool

+1
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)