- Now use rx3-docker/x11-pulse:1.2.3-mga9 image,
- Add absolute & relative command path support, - Add spaces support in Application Dir & Command.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash -x
|
||||
#!/bin/bash
|
||||
|
||||
set -o errexit
|
||||
|
||||
@@ -32,6 +32,8 @@ shift
|
||||
|
||||
|
||||
|
||||
APPL_DIR=$(realpath ${APPL_DIR})
|
||||
|
||||
export USER_ID=$(id -u)
|
||||
export GROUP_ID=$(id -g)
|
||||
export GROUP_NAME=$(id -gn)
|
||||
@@ -41,6 +43,6 @@ cd "${APPL_HOME_DIR}"
|
||||
|
||||
sbin/docker_mk_env
|
||||
|
||||
docker compose run --rm wine /usr/local/sbin/user_add_exec ${USER_ID} ${USER} ${HOME} ${GROUP_ID} ${GROUP_NAME} ${APPL_DIR}/${APPL_NAME} $*
|
||||
docker compose run --rm wine /usr/local/sbin/user_add_exec ${USER_ID} ${USER} ${HOME} ${GROUP_ID} ${GROUP_NAME} "${APPL_DIR}" "${APPL_NAME}" "$@"
|
||||
|
||||
docker compose down
|
||||
|
||||
Reference in New Issue
Block a user