modified docker commands to run as current user instead of root
This commit is contained in:
parent
eba4269829
commit
946b25f760
|
@ -15,6 +15,6 @@ fi
|
|||
#
|
||||
# '/${PWD##*/}' is doing the $pwd basename thing again
|
||||
|
||||
docker run --rm -t --entrypoint python3 -v "$(pwd)":/${PWD##*/} hellen-one ./bin/copy_from_Kicad.py "frames:alphax_" "/${PWD##*/}" "../../gerber" "2ch" "c"
|
||||
docker run --rm -t --user $(id -u):$(id -g) --entrypoint python3 -v "$(pwd)":/${PWD##*/} hellen-one ./bin/copy_from_Kicad.py "frames:alphax_" "/${PWD##*/}" "../../gerber" "2ch" "c"
|
||||
|
||||
echo "Done!"
|
||||
|
|
|
@ -7,5 +7,5 @@ fi
|
|||
|
||||
# See step2_copy_with_docker.sh for explanation of the following command
|
||||
|
||||
docker run --rm -t --entrypoint bash -v "$(pwd)":/${PWD##*/} hellen-one ./bin/create_board_with_prefix.sh "alphax_" "/${PWD##*/}" "2ch" "c" "bom_replace_alphax-2ch-c.csv " "0,4"
|
||||
docker run --rm -t --user $(id -u):$(id -g) --entrypoint bash -v "$(pwd)":/${PWD##*/} hellen-one ./bin/create_board_with_prefix.sh "alphax_" "/${PWD##*/}" "2ch" "c" "bom_replace_alphax-2ch-c.csv " "0,4"
|
||||
|
||||
|
|
Loading…
Reference in New Issue