From 6ad8c6a1e4afa10889d5dce84d47f9559fc30924 Mon Sep 17 00:00:00 2001 From: "Arnaud G. GIBERT" Date: Sun, 25 Aug 2024 18:17:03 +0200 Subject: [PATCH] - Initial release. --- .env | 28 ++++++++++++++++++++++++++++ .gitignore | 2 ++ Dockerfile | 20 ++++++++++++++++++++ ReadMe.txt | 17 +++++++++++++++++ ReleaseNotes.txt | 6 ++++++ compose.yaml | 22 ++++++++++++++++++++++ 6 files changed, 95 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..538f90b --- /dev/null +++ b/.env @@ -0,0 +1,28 @@ +# Rx3 Server 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_ID="server-mga9" +IMG_NAME="Rx3 Server Mageia-9 Docker Image" +IMG_VERSION="1.0.0" +IMG_URL="${IMG_URL_PREFIX}/${IMG_ID}:${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..7a720e6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +# Rx3 Server Mageia-9 Docker Image +#------------------------------------------------------------------------------- + +ARG IMG_URL_PREFIX="rx3" + +FROM ${IMG_URL_PREFIX}/base-mga9:1.2.2 + +ARG IMG_ID +ARG IMG_NAME +ARG IMG_VERSION +ARG IMG_MAINTAINER + +LABEL org.rx3.${IMG_ID}.name=${IMG_NAME} +LABEL org.rx3.${IMG_ID}.version=${IMG_VERSION} +LABEL org.rx3.${IMG_ID}.maintainer=${IMG_MAINTAINER} +LABEL maintainer=${IMG_MAINTAINER} + + +CMD [] +ENTRYPOINT ["sleep", "60m"] diff --git a/ReadMe.txt b/ReadMe.txt new file mode 100644 index 0000000..9540ccf --- /dev/null +++ b/ReadMe.txt @@ -0,0 +1,17 @@ +Welcome to Rx3/Server-Mga9 docker image! + + + +This is project aims to build a Mageia-9 server docker image to be used by others Rx3 packaging projects. + +Features: + - Curtently based on rx3/base-mga9:1.2.2 image, + - ... + + +Enjoy it! + +Your Rx3 Team. + +arnaud@rx3.net +https://git.rx3.org/gitea/rx3/server-mga9 diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt new file mode 100644 index 0000000..0a7accf --- /dev/null +++ b/ReleaseNotes.txt @@ -0,0 +1,6 @@ +------------------------------------------------------------------------------------------------------------------------------------ +Server-Mga9 V 1.0.0 - A. GIBERT - 2024/08/25 +------------------------------------------------------------------------------------------------------------------------------------ + +- Initial release, +- Use rx3/base-mga9:1.2.2 docker image as base. diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..81f1a75 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,22 @@ +# Rx3 Server Mageia-9 Docker Image +#------------------------------------------------------------------------------- + +name: ${IMG_ID} + +services: + + server: + container_name: ${IMG_ID} + + image: ${IMG_URL} + + build: + context: . + args: + - IMG_ID=${IMG_ID} + - IMG_NAME=${IMG_NAME} + - IMG_VERSION=${IMG_VERSION} + - IMG_MAINTAINER=${IMG_MAINTAINER} + - IMG_URL_PREFIX=${IMG_URL_PREFIX} + + restart: unless-stopped