Compare commits
No commits in common. "master" and "x11-pulse-mga9-1.1.2" have entirely different histories.
master
...
x11-pulse-
13
.env
Normal file
13
.env
Normal file
@ -0,0 +1,13 @@
|
||||
# Rx3 X11 Pulse Mageia-9 Docker Image
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
IMG_NAME="x11-pulse-mga9"
|
||||
IMG_FULL_NAME="Rx3 X11 Pulse Mageia-9 Docker Image"
|
||||
IMG_VERSION="1.1.2"
|
||||
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
||||
IMG_URL="docker.xor.rx3:5000/rx3/${IMG_NAME}:${IMG_VERSION}"
|
||||
|
||||
# To be defined / overwrited at run time
|
||||
USER_ID=""
|
||||
APPL_DIR=""
|
||||
APPL_NETWORK="no-internet"
|
@ -1,7 +1,7 @@
|
||||
# Rx3 X11 Pulse Mageia-9 Docker Image
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
FROM docker.xor.rx3:5000/rx3/base-mga9:1.2.6
|
||||
FROM docker.xor.rx3:5000/rx3/base-mga9:1.2.1
|
||||
|
||||
ARG IMG_NAME
|
||||
ARG IMG_FULL_NAME
|
||||
|
@ -1,11 +1,11 @@
|
||||
Welcome to RX3/X11-Pulse-Mga9 docker image!
|
||||
Welcome to X11-Pulse-Mga9 docker image!
|
||||
|
||||
|
||||
|
||||
This is project aims to build a X11 + Pulse + Mageia-9 docker image able to run any graphic & audio application isolated.
|
||||
|
||||
Features:
|
||||
- Curtently based on base-mga9:1.2.4 image,
|
||||
- Curtently based on base-mga9:1.2.1 image,
|
||||
- X11 & Pulse base libraries installed,
|
||||
- Target user & group created on the run,
|
||||
- Optional output internet routing.
|
||||
|
@ -1,40 +1,13 @@
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3/X11-Pulse-Mga9 V 1.1.5 - A. GIBERT - 2024/10/07
|
||||
X11-Pulse-Mga9 V 1.1.2 - A. GIBERT - 2024/08/25
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Update to rx3/base-mga9:1.2.6 image,
|
||||
- Variabilization of external server ports in env & compose file,
|
||||
- Now use docker_tools for .env building.
|
||||
|
||||
- Update to base-mga9:1.2.1 image.
|
||||
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3/X11-Pulse-Mga9 V 1.1.4 - A. GIBERT - 2024/08/28
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Update to rx3/base-mga9:1.2.4 image.
|
||||
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3/X11-Pulse-Mga9 V 1.1.3 - A. GIBERT - 2024/08/27
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Update to rx3/base-mga9:1.2.3 image.
|
||||
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3/X11-Pulse-Mga9 V 1.1.2 - A. GIBERT - 2024/08/25
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Update to rx3/base-mga9:1.2.1 image.
|
||||
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3/X11-Pulse-Mga9 V 1.1.1 - A. GIBERT - 2024/08/23
|
||||
X11-Pulse-Mga9 V 1.1.1 - A. GIBERT - 2024/08/23
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Add internet output routing option on run time execution,
|
||||
@ -43,7 +16,7 @@ Rx3/X11-Pulse-Mga9 V 1.1.1 - A. GIBERT - 2024/08/23
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3/X11-Pulse-Mga9 V 1.1.0 - A. GIBERT - 2024/08/23
|
||||
X11-Pulse-Mga9 V 1.1.0 - A. GIBERT - 2024/08/23
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Remove Emacs to lighten the image weight...
|
||||
@ -51,10 +24,10 @@ Rx3/X11-Pulse-Mga9 V 1.1.0 - A. GIBERT - 2024/08/23
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3/X11-Pulse-Mga9 V 1.0.0 - A. GIBERT - 2024/08/23
|
||||
X11-Pulse-Mga9 V 1.0.0 - A. GIBERT - 2024/08/23
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Initial release,
|
||||
- Based on rx3/base-mga9:1.2.0 image,
|
||||
- Based on base-mga9:1.2.0 image,
|
||||
- X11 & Pulse ready,
|
||||
- user_add_exec installed.
|
||||
|
@ -20,7 +20,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
environment:
|
||||
DISPLAY: ":0"
|
||||
- DISPLAY=:0
|
||||
|
||||
volumes:
|
||||
- home_dir:/home
|
||||
@ -31,8 +31,8 @@ services:
|
||||
source: /run/user/${USER_ID}/pulse
|
||||
target: /run/user/${USER_ID}/pulse
|
||||
- type: bind
|
||||
source: "${APPL_DIR}"
|
||||
target: "${APPL_DIR}"
|
||||
source: ${APPL_DIR}
|
||||
target: ${APPL_DIR}
|
||||
|
||||
networks:
|
||||
- ${APPL_NETWORK}
|
||||
|
33
env
33
env
@ -1,33 +0,0 @@
|
||||
# Rx3 X11 Pulse Mageia-9 Docker Image
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Global Settings
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
IMG_ORG="rx3"
|
||||
IMG_REGISTRY="docker.xor.rx3:5000"
|
||||
IMG_URL_PREFIX="${IMG_REGISTRY}/${IMG_ORG}"
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Image Settings
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
|
||||
IMG_NAME="x11-pulse-mga9"
|
||||
IMG_FULL_NAME="Rx3 X11 Pulse Mageia-9 Docker Image"
|
||||
IMG_VERSION="1.1.5"
|
||||
IMG_URL="${IMG_URL_PREFIX}/${IMG_NAME}:${IMG_VERSION}"
|
||||
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# User Settings (overwrited at run time)
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
USER_ID=""
|
||||
APPL_DIR=""
|
||||
APPL_NETWORK="no-internet"
|
12
run.sh
12
run.sh
@ -1,13 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -o errexit
|
||||
|
||||
APPL_HOME_DIR="$(dirname "$(dirname "$0")")"
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
if [[ "$1" == "-h" ]]
|
||||
then
|
||||
echo "usage: run.sh [-h] [-i] <Application_Dir> <Application_Exec> [Args...]"
|
||||
@ -37,8 +29,4 @@ export GROUP_ID=$(id -g)
|
||||
export GROUP_NAME=$(id -gn)
|
||||
|
||||
|
||||
cd "${APPL_HOME_DIR}"
|
||||
|
||||
sbin/docker_mk_env
|
||||
|
||||
docker compose run --rm default /sbin/user_add_exec ${USER_ID} ${USER} ${HOME} ${GROUP_ID} ${GROUP_NAME} ${APPL_DIR}/${APPL_NAME} $*
|
||||
|
Loading…
Reference in New Issue
Block a user