mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
(bug) unable to run the setup/upgrade scripts as root
yq has updated its docker image to prevent running as root so we need to provide the current user id when running the image More info: https://github.com/mikefarah/yq/issues/890
This commit is contained in:
parent
65e9c30030
commit
501411e293
@ -1,5 +1,7 @@
|
||||
# Changelog Fab-manager
|
||||
|
||||
- Fix a bug: unable to run the setup/upgrade scripts as root
|
||||
|
||||
## v5.1.12 2021 November 10
|
||||
|
||||
- Added an automated test on the plan creation endpoint
|
||||
|
@ -194,7 +194,7 @@ prepare_files()
|
||||
}
|
||||
|
||||
yq() {
|
||||
docker run --rm -i -v "${FABMANAGER_PATH}:/workdir" mikefarah/yq:4 "$@"
|
||||
docker run --rm -i -v "${FABMANAGER_PATH}:/workdir" --user "$UID" mikefarah/yq:4 "$@"
|
||||
}
|
||||
|
||||
prepare_nginx()
|
||||
|
@ -36,7 +36,7 @@ parseparams()
|
||||
}
|
||||
|
||||
yq() {
|
||||
docker run --rm -i -v "${PWD}:/workdir" mikefarah/yq:4 "$@"
|
||||
docker run --rm -i -v "${PWD}:/workdir" --user "$UID" mikefarah/yq:4 "$@"
|
||||
}
|
||||
|
||||
jq() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user