Compare commits

..

4 Commits

6 changed files with 47 additions and 12 deletions

View File

@ -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...]

View File

@ -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
------------------------------------------------------------------------------------------------------------------------------------

View File

@ -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)

View File

@ -25,7 +25,7 @@ services:
restart: unless-stopped
environment:
DISPLAY: ":0"
DISPLAY: "${DISPLAY}"
volumes:
# - home_dir:/home

View File

@ -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 - - - - - - - -

View File

@ -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