Compare commits
3 Commits
java-mga9-
...
master
Author | SHA1 | Date | |
---|---|---|---|
5e7e48b5e3 | |||
9af3635a2c | |||
45834cda81 |
16
Dockerfile
16
Dockerfile
@ -1,20 +1,24 @@
|
||||
# Rx3 Java Mageia-9 Docker Image
|
||||
# Rx3-Docker/Java Docker Image
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
ARG IMG_URL_PREFIX="rx3"
|
||||
ARG IMG_FROM_URL="rx3-docker/server:latest"
|
||||
|
||||
FROM ${IMG_URL_PREFIX}/server-mga9:1.1.2
|
||||
FROM ${IMG_FROM_URL}
|
||||
|
||||
ARG IMG_NAME
|
||||
ARG IMG_FULL_NAME
|
||||
ARG IMG_NAME_FULL
|
||||
ARG IMG_VERSION
|
||||
ARG IMG_MAINTAINER
|
||||
|
||||
LABEL org.rx3.${IMG_NAME}.name=${IMG_FULL_NAME}
|
||||
LABEL org.rx3.${IMG_NAME}.name=${IMG_NAME_FULL}
|
||||
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
|
||||
RUN urpmi --force --no-install java-17-openjdk-headless lib64rocm-opencl-runtime5.7 \
|
||||
&& rpm -Uvh --nodeps $( for pkg in javapackages-filesystem java-17-openjdk-headless rootcerts-java timezone-java copy-jdk-configs; do ls /var/cache/urpmi/rpms/$pkg*.rpm; done) \
|
||||
&& rm -f /var/cache/urpmi/rpms/*
|
||||
|
||||
|
||||
|
11
ReadMe.txt
11
ReadMe.txt
@ -1,12 +1,13 @@
|
||||
Welcome to Rx3/Java-Mga9 docker image!
|
||||
Welcome to Rx3-Docker/Java docker image!
|
||||
|
||||
|
||||
|
||||
This is project aims to build a Java + Mageia 9 docker image used by others Rx3 packaging projects.
|
||||
This project aims to build a Java docker image used by other Rx3 packaging projects.
|
||||
|
||||
Features:
|
||||
- Curtently based on rx3/server-mga9:1.1.2 image,
|
||||
- OpenJVM 17.
|
||||
- Curtently based on rx3-docker/server:1.2.0-mga9 image,
|
||||
- OpenJVM 17,
|
||||
- Striped down.
|
||||
|
||||
|
||||
Enjoy it!
|
||||
@ -15,4 +16,4 @@ Your Rx3 Team.
|
||||
|
||||
--
|
||||
arnaud@rx3.net
|
||||
https://git.rx3.org/gitea/rx3/java-mga9
|
||||
https://git.rx3.org/gitea/rx3-docker/java
|
||||
|
@ -1,7 +1,30 @@
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3-Docker/Java V 1.1.0 - A. GIBERT - 2024/11/11
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Move & Rename repo from Rx3/Java-MGA9 to Rx3-Docker/Java,
|
||||
- New version naming standard,
|
||||
- Now use docker_tools for .env building,
|
||||
- Use now rx3-docker/server:1.2.0-mga9 image,
|
||||
- Add /var/log/init & /var/log/supervisor volumes,
|
||||
- Strip down dependencies.
|
||||
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
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
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Initial release,
|
||||
- Use based on server-mga9:1.1.2 image,
|
||||
- Based on rx3/server-mga9:1.1.2 image,
|
||||
- OpenJVM 17.
|
||||
|
32
compose.yaml
32
compose.yaml
@ -1,28 +1,30 @@
|
||||
# Rx3 PHP Apache Mageia-9 Docker Image
|
||||
# Rx3-Docker/Java Docker Image
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
name: ${IMG_NAME}
|
||||
name: ${IMG_NAME}
|
||||
|
||||
services:
|
||||
|
||||
server:
|
||||
container_name: ${IMG_NAME}
|
||||
container_name: ${IMG_NAME}
|
||||
hostname: ${IMG_NAME}
|
||||
|
||||
image: ${IMG_URL}
|
||||
image: ${IMG_URL}
|
||||
|
||||
build:
|
||||
context: .
|
||||
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}"
|
||||
IMG_NAME: ${IMG_NAME}
|
||||
IMG_NAME_FULL: ${IMG_NAME_FULL}
|
||||
IMG_VERSION: ${IMG_VERSION}
|
||||
IMG_MAINTAINER: ${IMG_MAINTAINER}
|
||||
IMG_FROM_URL: ${IMG_FROM_URL}
|
||||
|
||||
restart: unless-stopped
|
||||
restart: unless-stopped
|
||||
|
||||
network_mode: bridge
|
||||
|
||||
ports:
|
||||
- "127.0.0.1:9014:9001"
|
||||
volumes:
|
||||
- ./var/log/init:${SERVER_LOG_INIT_DIR}
|
||||
- ./var/log/supervisor:${SERVER_LOG_SV_DIR}
|
||||
|
||||
ports:
|
||||
- "127.0.0.1:${SERVER_PORT_SV_EXT}:${SERVER_PORT_SV_INT}"
|
||||
|
@ -1,13 +1,14 @@
|
||||
# Rx3 Java Mageia-9 Docker Image
|
||||
# Rx3-Docker/Java Docker Image
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Global Settings
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
IMG_ORG="rx3"
|
||||
IMG_REGISTRY="docker.xor.rx3:5000"
|
||||
IMG_URL_PREFIX="${IMG_REGISTRY}/${IMG_ORG}"
|
||||
ORG_NAME="rx3-docker"
|
||||
ORG_REGISTRY="docker.xor.rx3:5000"
|
||||
|
||||
ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"
|
||||
|
||||
|
||||
|
||||
@ -15,16 +16,31 @@ IMG_URL_PREFIX="${IMG_REGISTRY}/${IMG_ORG}"
|
||||
# Image Settings
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
IMG_NAME="java-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_NAME="java"
|
||||
IMG_NAME_FULL="Rx3-Docker/Java Docker Image"
|
||||
IMG_VERSION="1.1.0-mga9"
|
||||
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
||||
|
||||
IMG_URL_PREFIX="${ORG_URL_PREFIX}"
|
||||
IMG_URL="${IMG_URL_PREFIX}/${IMG_NAME}:${IMG_VERSION}"
|
||||
|
||||
IMG_FROM_URL="${ORG_URL_PREFIX}/server:1.2.0-mga9"
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# User Settings
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
ENV_PORT_OFFSET=0
|
||||
SV_PORT_OFFSET=1000
|
||||
|
||||
SERVER_PORT_MAIN_EXT=$(( 8014 + ${ENV_PORT_OFFSET}))
|
||||
|
||||
SERVER_PORT_SV_EXT=$(( ${SERVER_PORT_MAIN_EXT} + ${SV_PORT_OFFSET}))
|
||||
SERVER_PORT_SV_INT=9001
|
||||
|
||||
SERVER_LOG_INIT_DIR="/var/log/init"
|
||||
SERVER_LOG_SV_DIR="/var/log/supervisor"
|
||||
|
||||
SERVER_CROND_ENABLED="FALSE"
|
4
var/log/init/.gitignore
vendored
Normal file
4
var/log/init/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
4
var/log/supervisor/.gitignore
vendored
Normal file
4
var/log/supervisor/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
Loading…
Reference in New Issue
Block a user