Compare commits
4 Commits
x11-pulse-
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 472a94caed | |||
| b70332a608 | |||
| 1935ad1b30 | |||
| 8fbec958ed |
@ -5,13 +5,13 @@ Welcome to RX3-Docker/X11-Pulse docker image!
|
||||
This is project aims to build a X11 + Pulse docker image able to run any graphic & audio application isolated.
|
||||
|
||||
Features:
|
||||
- Curtently based on rx3-docker/base:1.3.2-mga9 image,
|
||||
- Curtently based on rx3-docker/base:1.3.6-mga9 image,
|
||||
- X11 & Pulse base libraries installed,
|
||||
- Target user & group created on the run,
|
||||
- Optional output internet routing.
|
||||
|
||||
Usage:
|
||||
./bin/run.sh [-h] [-i] <Application Dir> <Application Exec> [Args...]
|
||||
./bin/run.sh [-h] [-i] [<Application_Dir> <Application_Exec> | <Application_Exec>] [Args...]
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,3 +1,30 @@
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3-Docker/X11-Pulse V 1.2.6 - A. GIBERT - 2025/11/29
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Improve run.sh to allow direct call with appl full path in one argument,
|
||||
- Use now rx3-docker/base:1.3.6-mga9 image,
|
||||
- Rebuild for updates.
|
||||
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3-Docker/X11-Pulse V 1.2.5 - A. GIBERT - 2025/09/19
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Use now rx3-docker/base:1.3.5-mga9 image,
|
||||
- Rebuild for updates.
|
||||
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3-Docker/X11-Pulse V 1.2.4 - A. GIBERT - 2025/04/21
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Fix Application Dir spaces support.
|
||||
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3-Docker/X11-Pulse V 1.2.3 - A. GIBERT - 2025/04/14
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
20
bin/run.sh
20
bin/run.sh
@ -10,7 +10,7 @@ APPL_HOME_DIR="$(dirname "$(dirname "$0")")"
|
||||
|
||||
if [[ "$1" == "-h" ]]
|
||||
then
|
||||
echo "usage: run.sh [-h] [-i] <Application_Dir> <Application_Exec> [Args...]"
|
||||
echo "usage: run.sh [-h] [-i] [<Application_Dir> <Application_Exec> | <Application_Exec>] [Args...]"
|
||||
echo "with -i enabling internet access."
|
||||
|
||||
exit 0
|
||||
@ -24,15 +24,23 @@ else
|
||||
export APPL_NETWORK="no-internet"
|
||||
fi
|
||||
|
||||
export APPL_DIR="$1"
|
||||
shift
|
||||
if [[ -d "$1" ]]
|
||||
then
|
||||
export APPL_DIR="$1"
|
||||
shift
|
||||
|
||||
export APPL_NAME="$1"
|
||||
shift
|
||||
export APPL_NAME="$1"
|
||||
shift
|
||||
else
|
||||
export APPL_DIR="$( dirname $1)"
|
||||
export APPL_NAME="./$(basename $1)"
|
||||
shift
|
||||
fi
|
||||
|
||||
|
||||
|
||||
APPL_DIR=$(realpath ${APPL_DIR})
|
||||
|
||||
APPL_DIR=$(realpath "${APPL_DIR}")
|
||||
|
||||
export USER_ID=$(id -u)
|
||||
export GROUP_ID=$(id -g)
|
||||
|
||||
@ -25,7 +25,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
environment:
|
||||
DISPLAY: ":0"
|
||||
DISPLAY: "${DISPLAY}"
|
||||
|
||||
volumes:
|
||||
# - home_dir:/home
|
||||
|
||||
4
env.dist
4
env.dist
@ -20,7 +20,7 @@ ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"
|
||||
APPL_NAME="x11-pulse"
|
||||
APPL_NAME_FULL="X11-Pulse Docker Image"
|
||||
APPL_NAME_SHORT="x11-pulse"
|
||||
APPL_VERSION="1.2.3"
|
||||
APPL_VERSION="1.2.6"
|
||||
|
||||
HOST_NAME_PREFIX=${APPL_NAME_SHORT}${APPL_SUFFIX}
|
||||
|
||||
@ -46,7 +46,7 @@ DOCKER_TOOLS_VOLUME=SINGLE
|
||||
# | Prefix | Name | URL Prefix | Name | Name Full | Version | URL Prefix | Name | Version | Name | Version | Ext | Int | Ext | Int | Name / Id | Name / Id |
|
||||
#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+---------------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+
|
||||
|
||||
docker_service_add XP x11-pulse ${ORG_URL_PREFIX} - "Rx3-Docker/X11-Pulse" ${APPL_VERSION}-mga9 ${ORG_URL_PREFIX} base 1.3.2-mga9 - - - - - - - -
|
||||
docker_service_add XP x11-pulse ${ORG_URL_PREFIX} - "Rx3-Docker/X11-Pulse" ${APPL_VERSION}-mga9 ${ORG_URL_PREFIX} base 1.3.6-mga9 - - - - - - - -
|
||||
|
||||
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
for arg in User_Id User_Name Home_Dir Group_Id Group_Name Appl_Dir
|
||||
do
|
||||
declare "$arg"=$1
|
||||
declare "$arg"="$1"
|
||||
shift
|
||||
done
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user