- Now use rx3/server-mga9:1.1.3 image,

- Variabilization of external server ports in env & compose file,
- Now use docker_tools for .env building.
This commit is contained in:
Arnaud G. GIBERT 2024-10-07 13:59:18 +02:00
parent 1d217ba63d
commit 45834cda81
5 changed files with 19 additions and 5 deletions

View File

@ -3,7 +3,7 @@
ARG IMG_URL_PREFIX="rx3" ARG IMG_URL_PREFIX="rx3"
FROM ${IMG_URL_PREFIX}/server-mga9:1.1.2 FROM ${IMG_URL_PREFIX}/server-mga9:1.1.3
ARG IMG_NAME ARG IMG_NAME
ARG IMG_FULL_NAME ARG IMG_FULL_NAME

View File

@ -5,7 +5,7 @@ Welcome to Rx3/Java-Mga9 docker image!
This is project aims to build a Java + Mageia 9 docker image used by others Rx3 packaging projects. This is project aims to build a Java + Mageia 9 docker image used by others Rx3 packaging projects.
Features: Features:
- Curtently based on rx3/server-mga9:1.1.2 image, - Curtently based on rx3/server-mga9:1.1.3 image,
- OpenJVM 17. - OpenJVM 17.

View File

@ -1,7 +1,17 @@
------------------------------------------------------------------------------------------------------------------------------------
Rx3/Java-Mga9 V 1.0.1 - A. GIBERT - 2024/10/07
------------------------------------------------------------------------------------------------------------------------------------
- Now use rx3/server-mga9:1.1.3 image,
- Variabilization of external server ports in env & compose file,
- Now use docker_tools for .env building.
------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------
Rx3/Java-Mga9 V 1.0.0 - A. GIBERT - 2024/08/28 Rx3/Java-Mga9 V 1.0.0 - A. GIBERT - 2024/08/28
------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------
- Initial release, - Initial release,
- Use based on server-mga9:1.1.2 image, - Based on rx3/server-mga9:1.1.2 image,
- OpenJVM 17. - OpenJVM 17.

View File

@ -24,5 +24,5 @@ services:
network_mode: bridge network_mode: bridge
ports: ports:
- "127.0.0.1:9014:9001" - "127.0.0.1:${SERVER_SV_PORT}:9001"

View File

@ -17,7 +17,7 @@ IMG_URL_PREFIX="${IMG_REGISTRY}/${IMG_ORG}"
IMG_NAME="java-mga9" IMG_NAME="java-mga9"
IMG_FULL_NAME="Rx3 Java Mageia-9 Docker Image" IMG_FULL_NAME="Rx3 Java Mageia-9 Docker Image"
IMG_VERSION="1.0.0" IMG_VERSION="1.0.1"
IMG_URL="${IMG_URL_PREFIX}/${IMG_NAME}:${IMG_VERSION}" IMG_URL="${IMG_URL_PREFIX}/${IMG_NAME}:${IMG_VERSION}"
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>' IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
@ -27,4 +27,8 @@ IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
# User Settings # User Settings
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
ENV_PORT_OFFSET=0
SV_PORT_OFFSET=1000
SERVER_PORT=$(( 8014 + ${ENV_PORT_OFFSET}))
SERVER_SV_PORT=$(( ${SERVER_PORT} + ${SV_PORT_OFFSET}))