Skip to content

Commit 8adec23

Browse files
committed
scripts: propagate UID/GID to container on build
Signed-off-by: Akira Moroo <retrage01@gmail.com>
1 parent 0404087 commit 8adec23

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/dev_cli.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ cmd_build() {
268268

269269
$DOCKER_RUNTIME run \
270270
--workdir "$CTR_RHF_ROOT_DIR" \
271+
--user "$(id -u):$(id -g)" \
271272
--rm \
272273
--volume $exported_device \
273274
--volume "$RHF_ROOT_DIR:$CTR_RHF_ROOT_DIR" $exported_volumes \

0 commit comments

Comments
 (0)