From 0ac631afafa3c015825cb6783fc8cb77c765ff56 Mon Sep 17 00:00:00 2001 From: "Arnaud G. GIBERT" Date: Wed, 28 Aug 2024 22:44:12 +0200 Subject: [PATCH] - Initial release, - Use based on server-mga9:1.1.2 image, - OpenJVM 17. --- .env | 30 ++++++++++++++++++++++++++++++ .gitignore | 2 ++ Dockerfile | 20 ++++++++++++++++++++ ReadMe.txt | 18 ++++++++++++++++++ ReleaseNotes.txt | 7 +++++++ compose.yaml | 28 ++++++++++++++++++++++++++++ 6 files changed, 105 insertions(+) create mode 100644 .env create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 ReadMe.txt create mode 100644 ReleaseNotes.txt create mode 100644 compose.yaml diff --git a/.env b/.env new file mode 100644 index 0000000..eb962f1 --- /dev/null +++ b/.env @@ -0,0 +1,30 @@ +# Rx3 Java 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="php-apache-mga9" +IMG_FULL_NAME="Rx3 Java Mageia-9 Docker Image" +IMG_VERSION="1.0.0" +IMG_URL="${IMG_URL_PREFIX}/${IMG_NAME}:${IMG_VERSION}" +IMG_MAINTAINER='"Arnaud G. GIBERT" ' + + + +#------------------------------------------------------------------------------- +# User Settings +#------------------------------------------------------------------------------- + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..556bc65 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*~ +*.old diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4339a4f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +# Rx3 Java Mageia-9 Docker Image +#------------------------------------------------------------------------------- + +ARG IMG_URL_PREFIX="rx3" + +FROM ${IMG_URL_PREFIX}/server-mga9:1.1.2 + +ARG IMG_NAME +ARG IMG_FULL_NAME +ARG IMG_VERSION +ARG IMG_MAINTAINER + +LABEL org.rx3.${IMG_NAME}.name=${IMG_FULL_NAME} +LABEL org.rx3.${IMG_NAME}.version=${IMG_VERSION} +LABEL org.rx3.${IMG_NAME}.maintainer=${IMG_MAINTAINER} +LABEL maintainer=${IMG_MAINTAINER} + + + +RUN urpmi --force java-17-openjdk-headless lib64rocm-opencl-runtime5.7 diff --git a/ReadMe.txt b/ReadMe.txt new file mode 100644 index 0000000..dc3f508 --- /dev/null +++ b/ReadMe.txt @@ -0,0 +1,18 @@ +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. + +Features: + - Curtently based on rx3/server-mga9:1.1.2 image, + - OpenJVM 17. + + +Enjoy it! + +Your Rx3 Team. + +-- +arnaud@rx3.net +https://git.rx3.org/gitea/rx3/java-mga9 diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt new file mode 100644 index 0000000..369d376 --- /dev/null +++ b/ReleaseNotes.txt @@ -0,0 +1,7 @@ +------------------------------------------------------------------------------------------------------------------------------------ +Rx3/Java-Mga9 V 1.0.0 - A. GIBERT - 2024/08/28 +------------------------------------------------------------------------------------------------------------------------------------ + +- Initial release, +- Use based on server-mga9:1.1.2 image, +- OpenJVM 17. diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..b7564d9 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,28 @@ +# Rx3 PHP Apache Mageia-9 Docker Image +#------------------------------------------------------------------------------- + +name: ${IMG_NAME} + +services: + + server: + container_name: ${IMG_NAME} + + image: ${IMG_URL} + + build: + context: . + args: + IMG_NAME: "${IMG_NAME}" + IMG_FULL_NAME: "${IMG_FULL_NAME}" + IMG_VERSION: "${IMG_VERSION}" + IMG_MAINTAINER: "${IMG_MAINTAINER}" + IMG_URL_PREFIX: "${IMG_URL_PREFIX}" + + restart: unless-stopped + + network_mode: bridge + + ports: + - "127.0.0.1:9014:9001" +