From 20ce073e51f9c7cb2a99c9ef9752df1568d7fdf2 Mon Sep 17 00:00:00 2001 From: STAM Date: Sat, 22 Jun 2024 13:32:53 +0300 Subject: [PATCH] REWORKed base images, fixed JAVA, added new Python for astra --- .../epicmorg.base.images.current.astra17.yml | 100 +++++++ .../epicmorg.base.images.current.debian10.yml | 17 ++ .../epicmorg.base.images.current.debian11.yml | 6 + .../epicmorg.base.images.current.debian12.yml | 19 ++ .../workflows/epicmorg.base.images.legacy.yml | 245 +++++++++++++++++- CHANGELOG.md | 3 + Makefile | 50 ++++ .../epicmorg/astra/1.7-alse/jdk11/Dockerfile | 84 ++++++ .../astra/1.7-alse/jdk11/Dockerfile.develop | 84 ++++++ .../epicmorg/astra/1.7-alse/jdk11/Makefile | 19 ++ .../astra/1.7-alse/jdk11/docker-compose.yml | 11 + .../epicmorg/astra/1.7-alse/jdk16/Dockerfile | 84 ++++++ .../astra/1.7-alse/jdk16/Dockerfile.develop | 84 ++++++ .../epicmorg/astra/1.7-alse/jdk16/Makefile | 19 ++ .../astra/1.7-alse/jdk16/docker-compose.yml | 11 + .../epicmorg/astra/1.7-alse/jdk17/Dockerfile | 84 ++++++ .../astra/1.7-alse/jdk17/Dockerfile.develop | 84 ++++++ .../epicmorg/astra/1.7-alse/jdk17/Makefile | 19 ++ .../astra/1.7-alse/jdk17/docker-compose.yml | 11 + .../epicmorg/astra/1.7-alse/jdk18/Dockerfile | 84 ++++++ .../astra/1.7-alse/jdk18/Dockerfile.develop | 84 ++++++ .../epicmorg/astra/1.7-alse/jdk18/Makefile | 19 ++ .../astra/1.7-alse/jdk18/docker-compose.yml | 11 + .../epicmorg/astra/1.7-alse/jdk19/Dockerfile | 84 ++++++ .../astra/1.7-alse/jdk19/Dockerfile.develop | 84 ++++++ .../epicmorg/astra/1.7-alse/jdk19/Makefile | 19 ++ .../astra/1.7-alse/jdk19/docker-compose.yml | 11 + .../epicmorg/astra/1.7-alse/jdk20/Dockerfile | 84 ++++++ .../astra/1.7-alse/jdk20/Dockerfile.develop | 84 ++++++ .../epicmorg/astra/1.7-alse/jdk20/Makefile | 19 ++ .../astra/1.7-alse/jdk20/docker-compose.yml | 11 + .../epicmorg/astra/1.7-alse/jdk21/Dockerfile | 84 ++++++ .../astra/1.7-alse/jdk21/Dockerfile.develop | 84 ++++++ .../epicmorg/astra/1.7-alse/jdk21/Makefile | 19 ++ .../astra/1.7-alse/jdk21/docker-compose.yml | 11 + .../epicmorg/astra/1.7-alse/jdk22/Dockerfile | 84 ++++++ .../astra/1.7-alse/jdk22/Dockerfile.develop | 84 ++++++ .../epicmorg/astra/1.7-alse/jdk22/Makefile | 19 ++ .../astra/1.7-alse/jdk22/docker-compose.yml | 11 + .../epicmorg/astra/1.7-alse/jdk6/Dockerfile | 75 ++++++ .../astra/1.7-alse/jdk6/Dockerfile.develop | 76 ++++++ .../epicmorg/astra/1.7-alse/jdk6/Makefile | 19 ++ .../astra/1.7-alse/jdk6/docker-compose.yml | 11 + .../epicmorg/astra/1.7-alse/jdk7/Dockerfile | 76 ++++++ .../astra/1.7-alse/jdk7/Dockerfile.develop | 76 ++++++ .../epicmorg/astra/1.7-alse/jdk7/Makefile | 19 ++ .../astra/1.7-alse/jdk7/docker-compose.yml | 11 + .../epicmorg/astra/1.7-alse/jdk8/Dockerfile | 84 ++++++ .../astra/1.7-alse/jdk8/Dockerfile.develop | 84 ++++++ .../epicmorg/astra/1.7-alse/jdk8/Makefile | 19 ++ .../astra/1.7-alse/jdk8/docker-compose.yml | 11 + .../astra/1.7-alse/python3.10/Dockerfile | 105 ++++++++ .../astra/1.7-alse/python3.10/Makefile | 19 ++ .../1.7-alse/python3.10/docker-compose.yml | 6 + .../astra/1.7-alse/python3.11/Dockerfile | 105 ++++++++ .../astra/1.7-alse/python3.11/Makefile | 19 ++ .../1.7-alse/python3.11/docker-compose.yml | 6 + .../astra/1.7-alse/python3.12/Dockerfile | 105 ++++++++ .../astra/1.7-alse/python3.12/Makefile | 19 ++ .../1.7-alse/python3.12/docker-compose.yml | 6 + .../astra/1.7-alse/python3.13/Dockerfile | 105 ++++++++ .../astra/1.7-alse/python3.13/Makefile | 19 ++ .../1.7-alse/python3.13/docker-compose.yml | 6 + .../debian/06-squeeze/jdk11/Dockerfile | 84 ++++++ .../06-squeeze/jdk11/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/06-squeeze/jdk11/Makefile | 19 ++ .../06-squeeze/jdk11/docker-compose.yml | 11 + .../debian/06-squeeze/jdk16/Dockerfile | 84 ++++++ .../06-squeeze/jdk16/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/06-squeeze/jdk16/Makefile | 19 ++ .../06-squeeze/jdk16/docker-compose.yml | 11 + .../debian/06-squeeze/jdk17/Dockerfile | 84 ++++++ .../06-squeeze/jdk17/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/06-squeeze/jdk17/Makefile | 19 ++ .../06-squeeze/jdk17/docker-compose.yml | 11 + .../debian/06-squeeze/jdk18/Dockerfile | 84 ++++++ .../06-squeeze/jdk18/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/06-squeeze/jdk18/Makefile | 19 ++ .../06-squeeze/jdk18/docker-compose.yml | 11 + .../debian/06-squeeze/jdk19/Dockerfile | 84 ++++++ .../06-squeeze/jdk19/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/06-squeeze/jdk19/Makefile | 19 ++ .../06-squeeze/jdk19/docker-compose.yml | 11 + .../debian/06-squeeze/jdk20/Dockerfile | 84 ++++++ .../06-squeeze/jdk20/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/06-squeeze/jdk20/Makefile | 19 ++ .../06-squeeze/jdk20/docker-compose.yml | 11 + .../debian/06-squeeze/jdk21/Dockerfile | 84 ++++++ .../06-squeeze/jdk21/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/06-squeeze/jdk21/Makefile | 19 ++ .../06-squeeze/jdk21/docker-compose.yml | 11 + .../debian/06-squeeze/jdk22/Dockerfile | 84 ++++++ .../06-squeeze/jdk22/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/06-squeeze/jdk22/Makefile | 19 ++ .../06-squeeze/jdk22/docker-compose.yml | 11 + .../debian/06-squeeze/jdk6/Dockerfile | 75 ++++++ .../debian/06-squeeze/jdk6/Dockerfile.develop | 76 ++++++ .../epicmorg/debian/06-squeeze/jdk6/Makefile | 19 ++ .../debian/06-squeeze/jdk6/docker-compose.yml | 11 + .../debian/06-squeeze/jdk7/Dockerfile | 76 ++++++ .../debian/06-squeeze/jdk7/Dockerfile.develop | 76 ++++++ .../epicmorg/debian/06-squeeze/jdk7/Makefile | 19 ++ .../debian/06-squeeze/jdk7/docker-compose.yml | 11 + .../debian/06-squeeze/jdk8/Dockerfile | 84 ++++++ .../debian/06-squeeze/jdk8/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/06-squeeze/jdk8/Makefile | 19 ++ .../debian/06-squeeze/jdk8/docker-compose.yml | 11 + .../debian/06-squeeze/main/Dockerfile | 3 + .../debian/06-squeeze/slim/Dockerfile | 1 + .../debian/07-wheezy/jdk11/Dockerfile | 84 ++++++ .../debian/07-wheezy/jdk11/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/07-wheezy/jdk11/Makefile | 19 ++ .../debian/07-wheezy/jdk11/docker-compose.yml | 11 + .../debian/07-wheezy/jdk16/Dockerfile | 84 ++++++ .../debian/07-wheezy/jdk16/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/07-wheezy/jdk16/Makefile | 19 ++ .../debian/07-wheezy/jdk16/docker-compose.yml | 11 + .../debian/07-wheezy/jdk17/Dockerfile | 84 ++++++ .../debian/07-wheezy/jdk17/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/07-wheezy/jdk17/Makefile | 19 ++ .../debian/07-wheezy/jdk17/docker-compose.yml | 11 + .../debian/07-wheezy/jdk18/Dockerfile | 84 ++++++ .../debian/07-wheezy/jdk18/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/07-wheezy/jdk18/Makefile | 19 ++ .../debian/07-wheezy/jdk18/docker-compose.yml | 11 + .../debian/07-wheezy/jdk19/Dockerfile | 84 ++++++ .../debian/07-wheezy/jdk19/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/07-wheezy/jdk19/Makefile | 19 ++ .../debian/07-wheezy/jdk19/docker-compose.yml | 11 + .../debian/07-wheezy/jdk20/Dockerfile | 84 ++++++ .../debian/07-wheezy/jdk20/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/07-wheezy/jdk20/Makefile | 19 ++ .../debian/07-wheezy/jdk20/docker-compose.yml | 11 + .../debian/07-wheezy/jdk21/Dockerfile | 84 ++++++ .../debian/07-wheezy/jdk21/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/07-wheezy/jdk21/Makefile | 19 ++ .../debian/07-wheezy/jdk21/docker-compose.yml | 11 + .../debian/07-wheezy/jdk22/Dockerfile | 84 ++++++ .../debian/07-wheezy/jdk22/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/07-wheezy/jdk22/Makefile | 19 ++ .../debian/07-wheezy/jdk22/docker-compose.yml | 11 + .../epicmorg/debian/07-wheezy/jdk6/Dockerfile | 75 ++++++ .../debian/07-wheezy/jdk6/Dockerfile.develop | 76 ++++++ .../epicmorg/debian/07-wheezy/jdk6/Makefile | 19 ++ .../debian/07-wheezy/jdk6/docker-compose.yml | 11 + .../epicmorg/debian/07-wheezy/jdk7/Dockerfile | 76 ++++++ .../debian/07-wheezy/jdk7/Dockerfile.develop | 76 ++++++ .../epicmorg/debian/07-wheezy/jdk7/Makefile | 19 ++ .../debian/07-wheezy/jdk7/docker-compose.yml | 11 + .../epicmorg/debian/07-wheezy/jdk8/Dockerfile | 84 ++++++ .../debian/07-wheezy/jdk8/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/07-wheezy/jdk8/Makefile | 19 ++ .../debian/07-wheezy/jdk8/docker-compose.yml | 11 + .../epicmorg/debian/07-wheezy/main/Dockerfile | 3 + .../epicmorg/debian/07-wheezy/slim/Dockerfile | 1 + .../debian/08-jessie/jdk11/Dockerfile | 7 +- .../debian/08-jessie/jdk11/Dockerfile.develop | 7 +- .../debian/08-jessie/jdk16/Dockerfile | 84 ++++++ .../debian/08-jessie/jdk16/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/08-jessie/jdk16/Makefile | 19 ++ .../debian/08-jessie/jdk16/docker-compose.yml | 11 + .../debian/08-jessie/jdk17/Dockerfile | 7 +- .../debian/08-jessie/jdk17/Dockerfile.develop | 7 +- .../debian/08-jessie/jdk18/Dockerfile | 84 ++++++ .../debian/08-jessie/jdk18/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/08-jessie/jdk18/Makefile | 19 ++ .../debian/08-jessie/jdk18/docker-compose.yml | 11 + .../debian/08-jessie/jdk19/Dockerfile | 84 ++++++ .../debian/08-jessie/jdk19/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/08-jessie/jdk19/Makefile | 19 ++ .../debian/08-jessie/jdk19/docker-compose.yml | 11 + .../debian/08-jessie/jdk20/Dockerfile | 7 +- .../debian/08-jessie/jdk20/Dockerfile.develop | 7 +- .../debian/08-jessie/jdk21/Dockerfile | 7 +- .../debian/08-jessie/jdk21/Dockerfile.develop | 7 +- .../debian/08-jessie/jdk22/Dockerfile | 84 ++++++ .../debian/08-jessie/jdk22/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/08-jessie/jdk22/Makefile | 19 ++ .../debian/08-jessie/jdk22/docker-compose.yml | 11 + .../epicmorg/debian/08-jessie/jdk8/Dockerfile | 7 +- .../debian/08-jessie/jdk8/Dockerfile.develop | 7 +- .../epicmorg/debian/08-jessie/main/Dockerfile | 3 + .../epicmorg/debian/08-jessie/slim/Dockerfile | 1 + .../debian/09-stretch/jdk11/Dockerfile | 7 +- .../09-stretch/jdk11/Dockerfile.develop | 7 +- .../debian/09-stretch/jdk16/Dockerfile | 84 ++++++ .../09-stretch/jdk16/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/09-stretch/jdk16/Makefile | 19 ++ .../09-stretch/jdk16/docker-compose.yml | 11 + .../debian/09-stretch/jdk17/Dockerfile | 7 +- .../09-stretch/jdk17/Dockerfile.develop | 7 +- .../debian/09-stretch/jdk18/Dockerfile | 84 ++++++ .../09-stretch/jdk18/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/09-stretch/jdk18/Makefile | 19 ++ .../09-stretch/jdk18/docker-compose.yml | 11 + .../debian/09-stretch/jdk19/Dockerfile | 84 ++++++ .../09-stretch/jdk19/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/09-stretch/jdk19/Makefile | 19 ++ .../09-stretch/jdk19/docker-compose.yml | 11 + .../debian/09-stretch/jdk20/Dockerfile | 84 ++++++ .../09-stretch/jdk20/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/09-stretch/jdk20/Makefile | 19 ++ .../09-stretch/jdk20/docker-compose.yml | 11 + .../debian/09-stretch/jdk21/Dockerfile | 84 ++++++ .../09-stretch/jdk21/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/09-stretch/jdk21/Makefile | 19 ++ .../09-stretch/jdk21/docker-compose.yml | 11 + .../debian/09-stretch/jdk22/Dockerfile | 84 ++++++ .../09-stretch/jdk22/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/09-stretch/jdk22/Makefile | 19 ++ .../09-stretch/jdk22/docker-compose.yml | 11 + .../debian/09-stretch/jdk8/Dockerfile | 7 +- .../debian/09-stretch/jdk8/Dockerfile.develop | 7 +- .../debian/09-stretch/main/Dockerfile | 3 + .../debian/09-stretch/slim/Dockerfile | 1 + .../debian/10-buster/jdk11/Dockerfile | 7 +- .../debian/10-buster/jdk11/Dockerfile.develop | 7 +- .../debian/10-buster/jdk16/Dockerfile | 84 ++++++ .../debian/10-buster/jdk16/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/10-buster/jdk16/Makefile | 19 ++ .../debian/10-buster/jdk16/docker-compose.yml | 11 + .../debian/10-buster/jdk17/Dockerfile | 7 +- .../debian/10-buster/jdk17/Dockerfile.develop | 7 +- .../debian/10-buster/jdk18/Dockerfile | 7 +- .../debian/10-buster/jdk18/Dockerfile.develop | 7 +- .../debian/10-buster/jdk19/Dockerfile | 7 +- .../debian/10-buster/jdk19/Dockerfile.develop | 7 +- .../debian/10-buster/jdk20/Dockerfile | 7 +- .../debian/10-buster/jdk20/Dockerfile.develop | 7 +- .../debian/10-buster/jdk21/Dockerfile | 84 ++++++ .../debian/10-buster/jdk21/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/10-buster/jdk21/Makefile | 19 ++ .../debian/10-buster/jdk21/docker-compose.yml | 11 + .../debian/10-buster/jdk22/Dockerfile | 84 ++++++ .../debian/10-buster/jdk22/Dockerfile.develop | 84 ++++++ .../epicmorg/debian/10-buster/jdk22/Makefile | 19 ++ .../debian/10-buster/jdk22/docker-compose.yml | 11 + .../epicmorg/debian/10-buster/jdk8/Dockerfile | 7 +- .../debian/10-buster/jdk8/Dockerfile.develop | 7 +- .../debian/11-bullseye/jdk11/Dockerfile | 7 +- .../11-bullseye/jdk11/Dockerfile.develop | 7 +- .../debian/11-bullseye/jdk16/Dockerfile | 84 ++++++ .../11-bullseye/jdk16/Dockerfile.develop | 84 ++++++ .../debian/11-bullseye/jdk16/Makefile | 19 ++ .../11-bullseye/jdk16/docker-compose.yml | 11 + .../debian/11-bullseye/jdk17/Dockerfile | 7 +- .../11-bullseye/jdk17/Dockerfile.develop | 7 +- .../debian/11-bullseye/jdk18/Dockerfile | 7 +- .../11-bullseye/jdk18/Dockerfile.develop | 7 +- .../debian/11-bullseye/jdk19/Dockerfile | 7 +- .../11-bullseye/jdk19/Dockerfile.develop | 7 +- .../debian/11-bullseye/jdk20/Dockerfile | 7 +- .../11-bullseye/jdk20/Dockerfile.develop | 7 +- .../debian/11-bullseye/jdk21/Dockerfile | 7 +- .../11-bullseye/jdk21/Dockerfile.develop | 7 +- .../debian/11-bullseye/jdk22/Dockerfile | 84 ++++++ .../11-bullseye/jdk22/Dockerfile.develop | 84 ++++++ .../debian/11-bullseye/jdk22/Makefile | 19 ++ .../11-bullseye/jdk22/docker-compose.yml | 11 + .../debian/11-bullseye/jdk8/Dockerfile | 7 +- .../11-bullseye/jdk8/Dockerfile.develop | 7 +- .../debian/12-bookworm/jdk11/Dockerfile | 7 +- .../12-bookworm/jdk11/Dockerfile.develop | 7 +- .../debian/12-bookworm/jdk16/Dockerfile | 84 ++++++ .../12-bookworm/jdk16/Dockerfile.develop | 84 ++++++ .../debian/12-bookworm/jdk16/Makefile | 19 ++ .../12-bookworm/jdk16/docker-compose.yml | 11 + .../debian/12-bookworm/jdk17/Dockerfile | 7 +- .../12-bookworm/jdk17/Dockerfile.develop | 7 +- .../debian/12-bookworm/jdk18/Dockerfile | 84 ++++++ .../12-bookworm/jdk18/Dockerfile.develop | 84 ++++++ .../debian/12-bookworm/jdk18/Makefile | 19 ++ .../12-bookworm/jdk18/docker-compose.yml | 11 + .../debian/12-bookworm/jdk20/Dockerfile | 7 +- .../12-bookworm/jdk20/Dockerfile.develop | 7 +- .../debian/12-bookworm/jdk21/Dockerfile | 7 +- .../12-bookworm/jdk21/Dockerfile.develop | 7 +- .../debian/12-bookworm/jdk22/Dockerfile | 84 ++++++ .../12-bookworm/jdk22/Dockerfile.develop | 84 ++++++ .../debian/12-bookworm/jdk22/Makefile | 19 ++ .../12-bookworm/jdk22/docker-compose.yml | 11 + .../debian/12-bookworm/jdk8/Dockerfile | 7 +- .../12-bookworm/jdk8/Dockerfile.develop | 7 +- 283 files changed, 11172 insertions(+), 167 deletions(-) create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/python3.10/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/python3.10/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/python3.10/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/python3.11/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/python3.11/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/python3.11/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/python3.12/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/python3.12/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/python3.12/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/python3.13/Dockerfile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/python3.13/Makefile create mode 100644 linux/ecosystem/epicmorg/astra/1.7-alse/python3.13/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk16/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk18/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk19/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk22/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk16/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk18/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk19/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk20/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk21/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/09-stretch/jdk22/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/10-buster/jdk16/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/10-buster/jdk16/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/10-buster/jdk21/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/10-buster/jdk21/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/10-buster/jdk22/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/10-buster/jdk22/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile.develop create mode 100644 linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/docker-compose.yml diff --git a/.github/workflows/epicmorg.base.images.current.astra17.yml b/.github/workflows/epicmorg.base.images.current.astra17.yml index bb66276db..c15c71dfc 100644 --- a/.github/workflows/epicmorg.base.images.current.astra17.yml +++ b/.github/workflows/epicmorg.base.images.current.astra17.yml @@ -34,3 +34,103 @@ jobs: - name: Cleanup run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Astra 1.7 SE jdk6 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/jdk6 && pwd && make build && make deploy + + - name: "Build and Deploy Astra 1.7 SE jdk7 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/jdk7 && pwd && make build && make deploy + + - name: "Build and Deploy Astra 1.7 SE jdk8 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/jdk8 && pwd && make build && make deploy + + - name: "Build and Deploy Astra 1.7 SE jdk11 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/jdk11 && pwd && make build && make deploy + + - name: "Build and Deploy Astra 1.7 SE jdk16 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/jdk16 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + + - name: "Build and Deploy Astra 1.7 SE jdk17 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/jdk17 && pwd && make build && make deploy + + - name: "Build and Deploy Astra 1.7 SE jdk18 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/jdk18 && pwd && make build && make deploy + + - name: "Build and Deploy Astra 1.7 SE jdk19 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/jdk19 && pwd && make build && make deploy + + - name: "Build and Deploy Astra 1.7 SE jdk20 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/jdk20 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Astra 1.7 SE jdk21 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/jdk21 && pwd && make build && make deploy + + - name: "Build and Deploy Astra 1.7 SE jdk22 Image:" + run: cd /linux/ecosystem/epicmorg/astra/1.7-alse/jdk22 && pwd && make build && make deploy + + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + + - name: "Build and Deploy Astra 1.7 SE python3.10 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/python3.10 && pwd && make build && make deploy + + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Astra 1.7 SE python3.11 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/python3.11 && pwd && make build && make deploy +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Astra 1.7 SE python3.12 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/python3.12 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Astra 1.7 SE python3.13 Image:" + run: cd linux/ecosystem/epicmorg/astra/1.7-alse/python3.13 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + \ No newline at end of file diff --git a/.github/workflows/epicmorg.base.images.current.debian10.yml b/.github/workflows/epicmorg.base.images.current.debian10.yml index d791c1462..dd00db5d2 100644 --- a/.github/workflows/epicmorg.base.images.current.debian10.yml +++ b/.github/workflows/epicmorg.base.images.current.debian10.yml @@ -63,6 +63,9 @@ jobs: ################################################################################## + - name: "Build and Deploy Debian 10 jdk16 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk16 && pwd && make build && make deploy + - name: "Build and Deploy Debian 10 jdk17 Image:" run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk17 && pwd && make build && make deploy @@ -88,3 +91,17 @@ jobs: run: make docker-clean ################################################################################## + + - name: "Build and Deploy Debian 10 jdk21 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk21 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 10 jdk22 Image:" + run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk22 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + diff --git a/.github/workflows/epicmorg.base.images.current.debian11.yml b/.github/workflows/epicmorg.base.images.current.debian11.yml index ee0c7aaf6..60c391d9c 100644 --- a/.github/workflows/epicmorg.base.images.current.debian11.yml +++ b/.github/workflows/epicmorg.base.images.current.debian11.yml @@ -63,6 +63,9 @@ jobs: ################################################################################## + - name: "Build and Deploy Debian 11 jdk16 Image:" + run: cd linux/ecosystem/epicmorg/debian/11-bullseye/jdk16 && pwd && make build && make deploy + - name: "Build and Deploy Debian 11 jdk17 Image:" run: cd linux/ecosystem/epicmorg/debian/11-bullseye/jdk17 && pwd && make build && make deploy @@ -92,6 +95,9 @@ jobs: - name: "Build and Deploy Debian 11 jdk21 Image:" run: cd linux/ecosystem/epicmorg/debian/11-bullseye/jdk21 && pwd && make build && make deploy + - name: "Build and Deploy Debian 11 jdk22 Image:" + run: cd linux/ecosystem/epicmorg/debian/11-bullseye/jdk22 && pwd && make build && make deploy + ################################################################################## - name: Cleanup diff --git a/.github/workflows/epicmorg.base.images.current.debian12.yml b/.github/workflows/epicmorg.base.images.current.debian12.yml index 76b8eb0a0..6823c056d 100644 --- a/.github/workflows/epicmorg.base.images.current.debian12.yml +++ b/.github/workflows/epicmorg.base.images.current.debian12.yml @@ -63,6 +63,9 @@ jobs: ################################################################################## + - name: "Build and Deploy Debian 12 jdk16 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk16 && pwd && make build && make deploy + - name: "Build and Deploy Debian 12 jdk17 Image:" run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk17 && pwd && make build && make deploy @@ -71,6 +74,19 @@ jobs: - name: Cleanup run: make docker-clean +################################################################################## + + - name: "Build and Deploy Debian 12 jdk18 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk18 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 12 jdk19 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk19 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + ################################################################################## - name: "Build and Deploy Debian 12 jdk20 Image:" @@ -79,6 +95,9 @@ jobs: - name: "Build and Deploy Debian 12 jdk21 Image:" run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk21 && pwd && make build && make deploy + - name: "Build and Deploy Debian 12 jdk22 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk22 && pwd && make build && make deploy + ################################################################################## - name: Cleanup diff --git a/.github/workflows/epicmorg.base.images.legacy.yml b/.github/workflows/epicmorg.base.images.legacy.yml index 7abb28b36..4bb4e23c1 100644 --- a/.github/workflows/epicmorg.base.images.legacy.yml +++ b/.github/workflows/epicmorg.base.images.legacy.yml @@ -30,8 +30,83 @@ jobs: - name: "Build and Deploy Debian 6 develop Image:" run: cd linux/ecosystem/epicmorg/debian/06-squeeze/develop && pwd && make build && make deploy + ################################################################################## + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 6 jdk6 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk6 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 jdk7 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk7 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 6 jdk8 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk8 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 jdk11 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk11 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 6 jdk16 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk16 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 jdk17 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk17 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 6 jdk18 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk18 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 jdk19 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk19 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 6 jdk20 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk20 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 jdk21 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk21 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 6 jdk22 Image:" + run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk22 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + build-07-images: name: Build EpicMorg Debian 7 Images runs-on: ubuntu-22.04 @@ -55,6 +130,80 @@ jobs: ################################################################################## + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 7 jdk6 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk6 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 jdk7 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk7 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 7 jdk8 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk8 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 jdk11 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk11 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 7 jdk16 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk16 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 jdk17 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk17 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 7 jdk18 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk18 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 jdk19 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk19 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 7 jdk20 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk20 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 jdk21 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk21 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 7 jdk22 Image:" + run: cd linux/ecosystem/epicmorg/debian/07-wheezy/jdk22 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + build-08-images: name: Build EpicMorg Debian 8 Images runs-on: ubuntu-22.04 @@ -75,10 +224,46 @@ jobs: - name: "Build and Deploy Debian 8 develop Image:" run: cd linux/ecosystem/epicmorg/debian/08-jessie/develop && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## - name: "Build and Deploy Debian 8 jdk6 Image:" run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk6 && pwd && make build && make deploy + - name: "Build and Deploy Debian 8 jdk7 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk7 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 8 jdk8 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk8 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 jdk11 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk11 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 8 jdk16 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk16 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 jdk17 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk17 && pwd && make build && make deploy + ################################################################################## - name: Cleanup @@ -86,17 +271,11 @@ jobs: ################################################################################## - - name: "Build and Deploy Debian 8 jdk7 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk7 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 8 jdk8 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk8 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 8 jdk11 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk11 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 8 jdk17 Image:" - run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk17 && pwd && make build && make deploy + - name: "Build and Deploy Debian 8 jdk18 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk18 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 8 jdk19 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk19 && pwd && make build && make deploy ################################################################################## @@ -111,6 +290,11 @@ jobs: - name: "Build and Deploy Debian 8 jdk21 Image:" run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk21 && pwd && make build && make deploy + - name: "Build and Deploy Debian 8 jdk22 Image:" + run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk22 && pwd && make build && make deploy + +################################################################################## + - name: Cleanup run: make docker-clean @@ -163,6 +347,9 @@ jobs: - name: "Build and Deploy Debian 9 jdk11 Image:" run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk11 && pwd && make build && make deploy + - name: "Build and Deploy Debian 9 jdk16 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk16 && pwd && make build && make deploy + - name: "Build and Deploy Debian 9 jdk17 Image:" run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk17 && pwd && make build && make deploy @@ -170,3 +357,39 @@ jobs: - name: Cleanup run: make docker-clean + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 9 jdk18 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk18 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 jdk19 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk19 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 jdk20 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk20 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 9 jdk21 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk21 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 9 jdk22 Image:" + run: cd linux/ecosystem/epicmorg/debian/09-stretch/jdk22 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## diff --git a/CHANGELOG.md b/CHANGELOG.md index df0e92547..a4ccece88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,12 +6,15 @@ * installation from archive. * added `pnpm` to `nodejs 4-22` images * updated `nextcloud` to `29` version. + * added `astra-linux` base images with `jdk6-22`, `python3.10-13` * reworked `gitlab` images. * reworked `teamcity-agent` images. * impoverd `php` base images, added `nodejs` lts support via special tag. * reworked all imajes contaned any `jdk`. * deprecated installation via package manager. * installation from archive. + * added ALL `jdk` versions. + * added support for ALL base images. * `mar-apr-may` * impoverd `postgres 10-16` images. * added `timescaledb` supprot to `postgres 11-16` images. diff --git a/Makefile b/Makefile index 7d21cb2f1..dae4de865 100644 --- a/Makefile +++ b/Makefile @@ -291,16 +291,53 @@ ecosystem-astra-17se-images: cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/slim && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/main && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/develop && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/python3.10 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/python3.11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/python3.12 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/python3.13 && pwd && make build && make deploy ecosystem-debian-squeeze-images: cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/slim && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/main && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/develop && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22 && pwd && make build && make deploy ecosystem-debian-wheezy-images: cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/slim && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/main && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/develop && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22 && pwd && make build && make deploy ecosystem-debian-jessie-images: cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/slim && pwd && make build && make deploy @@ -310,9 +347,13 @@ ecosystem-debian-jessie-images: cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk7 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk8 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk16 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk19 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk20 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk22 && pwd && make build && make deploy ecosystem-debian-stretch-images: cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/slim && pwd && make build && make deploy @@ -322,7 +363,13 @@ ecosystem-debian-stretch-images: cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk7 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk8 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk16 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk18 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk19 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk22 && pwd && make build && make deploy ecosystem-debian-buster-images: cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/slim && pwd && make build && make deploy @@ -332,10 +379,13 @@ ecosystem-debian-buster-images: cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk7 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk8 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk16 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk17 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk18 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk19 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk20 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk21 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk22 && pwd && make build && make deploy ecosystem-debian-bullseye-images: cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/slim && pwd && make build && make deploy diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile new file mode 100644 index 000000000..efd4dc105 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 +ARG K_JDK_VERSION=11.0.23 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java11 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile.develop new file mode 100644 index 000000000..1acb75c5c --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 +ARG K_JDK_VERSION=11.0.23 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java11 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/docker-compose.yml new file mode 100644 index 000000000..5875ee1cc --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk11/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-jdk11" + build: + context: . + app-develop: + image: "epicmorg/astralinux:1.7-develop-jdk11" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile new file mode 100644 index 000000000..cfdff15a6 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile.develop new file mode 100644 index 000000000..ab8c7f51b --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/docker-compose.yml new file mode 100644 index 000000000..d74a40e70 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk16/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-jdk16" + build: + context: . + app-develop: + image: "epicmorg/astralinux:1.7-develop-jdk16" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile new file mode 100644 index 000000000..1ee76c619 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 +ARG K_JDK_VERSION=17.0.11 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile.develop new file mode 100644 index 000000000..908425e74 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 +ARG K_JDK_VERSION=17.0.11 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/docker-compose.yml new file mode 100644 index 000000000..6152cbe46 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk17/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-jdk17" + build: + context: . + app-develop: + image: "epicmorg/astralinux:1.7-develop-jdk17" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile new file mode 100644 index 000000000..1d5db72cf --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 +ARG K_JDK_VERSION=18.0.2.1 +ARG K_JDK_BUILD_VERSION=1 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile.develop new file mode 100644 index 000000000..2cc3863a6 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 +ARG K_JDK_VERSION=18.0.2.1 +ARG K_JDK_BUILD_VERSION=1 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/docker-compose.yml new file mode 100644 index 000000000..c3968045c --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk18/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-jdk18" + build: + context: . + app-develop: + image: "epicmorg/astralinux:1.7-develop-jdk18" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile new file mode 100644 index 000000000..84449d5f2 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 +ARG K_JDK_VERSION=19.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile.develop new file mode 100644 index 000000000..3e6450e92 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 +ARG K_JDK_VERSION=19.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/docker-compose.yml new file mode 100644 index 000000000..8b49f2804 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk19/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-jdk19" + build: + context: . + app-develop: + image: "epicmorg/astralinux:1.7-develop-jdk19" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile new file mode 100644 index 000000000..b78a8d9ff --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 +ARG K_JDK_VERSION=20.0.2 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java20 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile.develop new file mode 100644 index 000000000..6b10621fa --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 +ARG K_JDK_VERSION=20.0.2 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java20 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/docker-compose.yml new file mode 100644 index 000000000..c6259d13d --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk20/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-jdk20" + build: + context: . + app-develop: + image: "epicmorg/astralinux:1.7-develop-jdk20" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile new file mode 100644 index 000000000..442c7f9ce --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 +ARG K_JDK_VERSION=21.0.3 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile.develop new file mode 100644 index 000000000..4ac87b819 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 +ARG K_JDK_VERSION=21.0.3 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/docker-compose.yml new file mode 100644 index 000000000..cc863b424 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk21/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-jdk21" + build: + context: . + app-develop: + image: "epicmorg/astralinux:1.7-develop-jdk21" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile new file mode 100644 index 000000000..d0c142198 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile.develop new file mode 100644 index 000000000..1c7974177 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/docker-compose.yml new file mode 100644 index 000000000..9e8415c25 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk22/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-jdk22" + build: + context: . + app-develop: + image: "epicmorg/astralinux:1.7-develop-jdk22" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile new file mode 100644 index 000000000..f35becf43 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile @@ -0,0 +1,75 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java6 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-6 && \ + java -version + +################################################################## +# Additional settings +################################################################## +#ENV MAVEN_VERSION=3.9.6 +#ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +#ENV MAVEN_ROOT=/opt/maven +#ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +#ENV MAVEN_BIN=${MAVEN_PATH}/bin +#ARG MAVEN_TEMP=/tmp/MAVEN.zip + +#ENV GRADLE_VERSION=7.6.4 +#ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +#ENV GRADLE_ROOT=/opt/gradle +#ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +#ENV GRADLE_BIN=${GRADLE_PATH}/bin +#ARG GRADLE_TEMP=/tmp/gradle.zip + +#ENV KTC_VERSION=1.9.22 +#ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +#ARG KTC_TEMP=/tmp/kotlinc.zip +#ENV KTC_ROOT=/opt/kotlin +#ENV KTC_PATH=${KTC_ROOT}/kotlinc +#ENV KTC_BIN=${KTC_PATH}/bin + +#RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +#ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +#ENV MAVEN_HOME=${MAVEN_ROOT} +#ENV M2_HOME=${MAVEN_ROOT} + +#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +#RUN chmod +x -R ${MAVEN_BIN} +#RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile.develop new file mode 100644 index 000000000..c4fc888cc --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Dockerfile.develop @@ -0,0 +1,76 @@ +FROM epicmorg/astralinux:1.7-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java6 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-6 && \ + java -version + +################################################################## +# Additional settings +################################################################## +#ENV MAVEN_VERSION=3.9.6 +#ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +#ENV MAVEN_ROOT=/opt/maven +#ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +#ENV MAVEN_BIN=${MAVEN_PATH}/bin +#ARG MAVEN_TEMP=/tmp/MAVEN.zip + +#ENV GRADLE_VERSION=7.6.4 +#ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +#ENV GRADLE_ROOT=/opt/gradle +#ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +#ENV GRADLE_BIN=${GRADLE_PATH}/bin +#ARG GRADLE_TEMP=/tmp/gradle.zip + +#ENV KTC_VERSION=1.9.22 +#ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +#ARG KTC_TEMP=/tmp/kotlinc.zip +#ENV KTC_ROOT=/opt/kotlin +#ENV KTC_PATH=${KTC_ROOT}/kotlinc +#ENV KTC_BIN=${KTC_PATH}/bin + +#RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +#ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +#ENV MAVEN_HOME=${MAVEN_ROOT} +#ENV M2_HOME=${MAVEN_ROOT} + +#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +#RUN chmod +x -R ${MAVEN_BIN} +#RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/docker-compose.yml new file mode 100644 index 000000000..3b4d74656 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk6/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-jdk6" + build: + context: . + app-develop: + image: "epicmorg/astralinux:1.7-develop-jdk6" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile new file mode 100644 index 000000000..6453c468b --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile @@ -0,0 +1,76 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java7 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-7 && \ + java -version + +################################################################## +# Additional settings +################################################################## +#ENV MAVEN_VERSION=3.9.6 +#ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +#ENV MAVEN_ROOT=/opt/maven +#ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +#ENV MAVEN_BIN=${MAVEN_PATH}/bin +#ARG MAVEN_TEMP=/tmp/MAVEN.zip + +#ENV GRADLE_VERSION=7.6.4 +#ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +#ENV GRADLE_ROOT=/opt/gradle +#ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +#ENV GRADLE_BIN=${GRADLE_PATH}/bin +#ARG GRADLE_TEMP=/tmp/gradle.zip + +#ENV KTC_VERSION=1.9.22 +#ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +#ARG KTC_TEMP=/tmp/kotlinc.zip +#ENV KTC_ROOT=/opt/kotlin +#ENV KTC_PATH=${KTC_ROOT}/kotlinc +#ENV KTC_BIN=${KTC_PATH}/bin + +#RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +#ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +#ENV MAVEN_HOME=${MAVEN_ROOT} +#ENV M2_HOME=${MAVEN_ROOT} + +#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +#RUN chmod +x -R ${MAVEN_BIN} +#RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile.develop new file mode 100644 index 000000000..fcfb69a36 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Dockerfile.develop @@ -0,0 +1,76 @@ +FROM epicmorg/astralinux:1.7-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java7 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-7 && \ + java -version + +################################################################## +# Additional settings +################################################################## +#ENV MAVEN_VERSION=3.9.6 +#ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +#ENV MAVEN_ROOT=/opt/maven +#ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +#ENV MAVEN_BIN=${MAVEN_PATH}/bin +#ARG MAVEN_TEMP=/tmp/MAVEN.zip + +#ENV GRADLE_VERSION=7.6.4 +#ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +#ENV GRADLE_ROOT=/opt/gradle +#ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +#ENV GRADLE_BIN=${GRADLE_PATH}/bin +#ARG GRADLE_TEMP=/tmp/gradle.zip + +#ENV KTC_VERSION=1.9.22 +#ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +#ARG KTC_TEMP=/tmp/kotlinc.zip +#ENV KTC_ROOT=/opt/kotlin +#ENV KTC_PATH=${KTC_ROOT}/kotlinc +#ENV KTC_BIN=${KTC_PATH}/bin + +#RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +#ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +#ENV MAVEN_HOME=${MAVEN_ROOT} +#ENV M2_HOME=${MAVEN_ROOT} + +#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +#RUN chmod +x -R ${MAVEN_BIN} +#RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/docker-compose.yml new file mode 100644 index 000000000..d9fee771b --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk7/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-jdk7" + build: + context: . + app-develop: + image: "epicmorg/astralinux:1.7-develop-jdk7" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile new file mode 100644 index 000000000..df320aaf4 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 +ARG K_JDK_VERSION=8u412 +ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java8 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile.develop new file mode 100644 index 000000000..ad8ec3d96 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/astralinux:1.7-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 +ARG K_JDK_VERSION=8u412 +ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java8 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/docker-compose.yml new file mode 100644 index 000000000..f2565e0d6 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/jdk8/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-jdk8" + build: + context: . + app-develop: + image: "epicmorg/astralinux:1.7-develop-jdk8" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/python3.10/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.10/Dockerfile new file mode 100644 index 000000000..5fafe8517 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.10/Dockerfile @@ -0,0 +1,105 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_PYTHON_VERSION=3.10.14 + +################################################################## +# update lists +################################################################## +RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ + apt-get update + +################################################################## +# Version before install +################################################################## +RUN echo "=============================================" && \ + echo $(python3 --version) && \ + echo $(pip3 --version) && \ + echo "=============================================" && \ + echo $(python --version) && \ + echo $(pip --version) && \ + echo "=============================================" + +################################################################## +# Install prerequierments to Python compile +################################################################## +RUN apt install -y --allow-unauthenticated \ + automake \ + build-essential \ + gcc \ + g++ \ + cmake \ + dpkg-dev \ + fakeroot \ + libdpkg-perl \ + zlib1g-dev \ + zlib1g \ + libssl-dev \ + libffi-dev \ + libncurses*-dev \ + libsqlite3-dev \ + libbz2-dev \ + libreadline-dev \ + uuid-dev liblz-dev \ + liblzma-dev lzma-dev \ + liblz-dev \ + libsqlite3-dev \ + libgdbm-dev \ + tk-dev \ + libgdbm-compat-dev + +################################################################## +# Python compilation +################################################################## +RUN cd /tmp && \ + wget -O /tmp/Python-${K_PYTHON_VERSION}.tgz https://www.python.org/ftp/python/${K_PYTHON_VERSION}/Python-${K_PYTHON_VERSION}.tgz && \ + tar -zxf Python-${K_PYTHON_VERSION}.tgz && \ + cd /tmp/Python-${K_PYTHON_VERSION} && \ + ./configure \ + --enable-optimizations \ + --with-lto \ + --with-system-expat \ + --enable-loadable-sqlite-extensions \ + --enable-profiling \ + --enable-option-checking=fatal \ +# --enable-shared \ + --with-computed-gotos \ + --with-openssl-rpath=auto && \ +# make -j$(nproc) test && \ + make -j$(nproc) && \ + make -j$(nproc) altinstall && \ + ldconfig && \ + rm -rfv /tmp/Python-${K_PYTHON_VERSION} && \ + rm /tmp/Python-${K_PYTHON_VERSION}.tgz + +################################################################## +# Python Setup +################################################################## +RUN update-alternatives --install /usr/bin/python python /usr/local/bin/python3.10 0 && \ + /usr/local/bin/python3.10 -m pip install --upgrade pip && \ + update-alternatives --remove pip3 /usr/local/bin/pip3.10 && \ + sudo ln -sfv /usr/local/bin/pip3.10 /usr/local/bin/pip && \ + rm -rfv /usr/local/bin/pip3 /usr/bin/pip3 && \ + apt install -y python3-pip + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo $(python3 --version) && \ + echo $(pip3 --version) && \ + echo "=============================================" && \ + echo $(python --version) && \ + echo $(pip --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/python3.10/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.10/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.10/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/python3.10/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.10/docker-compose.yml new file mode 100644 index 000000000..8af1fc4bc --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.10/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-python3.10" + build: + context: . diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/python3.11/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.11/Dockerfile new file mode 100644 index 000000000..1fd7fa855 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.11/Dockerfile @@ -0,0 +1,105 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_PYTHON_VERSION=3.11.9 + +################################################################## +# update lists +################################################################## +RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ + apt-get update + +################################################################## +# Version before install +################################################################## +RUN echo "=============================================" && \ + echo $(python3 --version) && \ + echo $(pip3 --version) && \ + echo "=============================================" && \ + echo $(python --version) && \ + echo $(pip --version) && \ + echo "=============================================" + +################################################################## +# Install prerequierments to Python compile +################################################################## +RUN apt install -y --allow-unauthenticated \ + automake \ + build-essential \ + gcc \ + g++ \ + cmake \ + dpkg-dev \ + fakeroot \ + libdpkg-perl \ + zlib1g-dev \ + zlib1g \ + libssl-dev \ + libffi-dev \ + libncurses*-dev \ + libsqlite3-dev \ + libbz2-dev \ + libreadline-dev \ + uuid-dev liblz-dev \ + liblzma-dev lzma-dev \ + liblz-dev \ + libsqlite3-dev \ + libgdbm-dev \ + tk-dev \ + libgdbm-compat-dev + +################################################################## +# Python compilation +################################################################## +RUN cd /tmp && \ + wget -O /tmp/Python-${K_PYTHON_VERSION}.tgz https://www.python.org/ftp/python/${K_PYTHON_VERSION}/Python-${K_PYTHON_VERSION}.tgz && \ + tar -zxf Python-${K_PYTHON_VERSION}.tgz && \ + cd /tmp/Python-${K_PYTHON_VERSION} && \ + ./configure \ + --enable-optimizations \ + --with-lto \ + --with-system-expat \ + --enable-loadable-sqlite-extensions \ + --enable-profiling \ + --enable-option-checking=fatal \ +# --enable-shared \ + --with-computed-gotos \ + --with-openssl-rpath=auto && \ +# make -j$(nproc) test && \ + make -j$(nproc) && \ + make -j$(nproc) altinstall && \ + ldconfig && \ + rm -rfv /tmp/Python-${K_PYTHON_VERSION} && \ + rm /tmp/Python-${K_PYTHON_VERSION}.tgz + +################################################################## +# Python Setup +################################################################## +RUN update-alternatives --install /usr/bin/python python /usr/local/bin/python3.11 0 && \ + /usr/local/bin/python3.11 -m pip install --upgrade pip && \ + update-alternatives --remove pip3 /usr/local/bin/pip3.11 && \ + rm -rfv /usr/local/bin/pip3 /usr/bin/pip3 && \ + sudo ln -sfv /usr/local/bin/pip3.11 /usr/local/bin/pip && \ + apt install -y python3-pip + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo $(python3 --version) && \ + echo $(pip3 --version) && \ + echo "=============================================" && \ + echo $(python --version) && \ + echo $(pip --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/python3.11/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.11/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.11/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/python3.11/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.11/docker-compose.yml new file mode 100644 index 000000000..1b6a2c561 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.11/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-python3.11" + build: + context: . diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/python3.12/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.12/Dockerfile new file mode 100644 index 000000000..de81b9a1c --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.12/Dockerfile @@ -0,0 +1,105 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_PYTHON_VERSION=3.12.4 + +################################################################## +# update lists +################################################################## +RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ + apt-get update + +################################################################## +# Version before install +################################################################## +RUN echo "=============================================" && \ + echo $(python3 --version) && \ + echo $(pip3 --version) && \ + echo "=============================================" && \ + echo $(python --version) && \ + echo $(pip --version) && \ + echo "=============================================" + +################################################################## +# Install prerequierments to Python compile +################################################################## +RUN apt install -y --allow-unauthenticated \ + automake \ + build-essential \ + gcc \ + g++ \ + cmake \ + dpkg-dev \ + fakeroot \ + libdpkg-perl \ + zlib1g-dev \ + zlib1g \ + libssl-dev \ + libffi-dev \ + libncurses*-dev \ + libsqlite3-dev \ + libbz2-dev \ + libreadline-dev \ + uuid-dev liblz-dev \ + liblzma-dev lzma-dev \ + liblz-dev \ + libsqlite3-dev \ + libgdbm-dev \ + tk-dev \ + libgdbm-compat-dev + +################################################################## +# Python compilation +################################################################## +RUN cd /tmp && \ + wget -O /tmp/Python-${K_PYTHON_VERSION}.tgz https://www.python.org/ftp/python/${K_PYTHON_VERSION}/Python-${K_PYTHON_VERSION}.tgz && \ + tar -zxf Python-${K_PYTHON_VERSION}.tgz && \ + cd /tmp/Python-${K_PYTHON_VERSION} && \ + ./configure \ + --enable-optimizations \ + --with-lto \ + --with-system-expat \ + --enable-loadable-sqlite-extensions \ + --enable-profiling \ + --enable-option-checking=fatal \ +# --enable-shared \ + --with-computed-gotos \ + --with-openssl-rpath=auto && \ +# make -j$(nproc) test && \ + make -j$(nproc) && \ + make -j$(nproc) altinstall && \ + ldconfig && \ + rm -rfv /tmp/Python-${K_PYTHON_VERSION} && \ + rm /tmp/Python-${K_PYTHON_VERSION}.tgz + +################################################################## +# Python Setup +################################################################## +RUN update-alternatives --install /usr/bin/python python /usr/local/bin/python3.12 0 && \ + /usr/local/bin/python3.12 -m pip install --upgrade pip && \ + update-alternatives --remove pip3 /usr/local/bin/pip3.12 && \ + sudo ln -sfv /usr/local/bin/pip3.12 /usr/local/bin/pip && \ + rm -rfv /usr/local/bin/pip3 /usr/bin/pip3 && \ + apt install -y python3-pip + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo $(python3 --version) && \ + echo $(pip3 --version) && \ + echo "=============================================" && \ + echo $(python --version) && \ + echo $(pip --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/python3.12/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.12/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.12/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/python3.12/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.12/docker-compose.yml new file mode 100644 index 000000000..76e00c72d --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.12/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-python3.12" + build: + context: . diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/python3.13/Dockerfile b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.13/Dockerfile new file mode 100644 index 000000000..b3a06c0fb --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.13/Dockerfile @@ -0,0 +1,105 @@ +FROM epicmorg/astralinux:1.7-main +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_PYTHON_VERSION=3.13.0 + +################################################################## +# update lists +################################################################## +RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ + apt-get update + +################################################################## +# Version before install +################################################################## +RUN echo "=============================================" && \ + echo $(python3 --version) && \ + echo $(pip3 --version) && \ + echo "=============================================" && \ + echo $(python --version) && \ + echo $(pip --version) && \ + echo "=============================================" + +################################################################## +# Install prerequierments to Python compile +################################################################## +RUN apt install -y --allow-unauthenticated \ + automake \ + build-essential \ + gcc \ + g++ \ + cmake \ + dpkg-dev \ + fakeroot \ + libdpkg-perl \ + zlib1g-dev \ + zlib1g \ + libssl-dev \ + libffi-dev \ + libncurses*-dev \ + libsqlite3-dev \ + libbz2-dev \ + libreadline-dev \ + uuid-dev liblz-dev \ + liblzma-dev lzma-dev \ + liblz-dev \ + libsqlite3-dev \ + libgdbm-dev \ + tk-dev \ + libgdbm-compat-dev + +################################################################## +# Python compilation +################################################################## +RUN cd /tmp && \ + wget -O /tmp/Python-${K_PYTHON_VERSION}b2.tgz https://www.python.org/ftp/python/${K_PYTHON_VERSION}/Python-${K_PYTHON_VERSION}b2.tgz && \ + tar -zxf Python-${K_PYTHON_VERSION}b2.tgz && \ + cd /tmp/Python-${K_PYTHON_VERSION}b2 && \ + ./configure \ + --enable-optimizations \ + --with-lto \ + --with-system-expat \ + --enable-loadable-sqlite-extensions \ + --enable-profiling \ + --enable-option-checking=fatal \ +# --enable-shared \ + --with-computed-gotos \ + --with-openssl-rpath=auto && \ +# make -j$(nproc) test && \ + make -j$(nproc) && \ + make -j$(nproc) altinstall && \ + ldconfig && \ + rm -rfv /tmp/Python-${K_PYTHON_VERSION}b2 && \ + rm /tmp/Python-${K_PYTHON_VERSION}b2.tgz + +################################################################## +# Python Setup +################################################################## +RUN update-alternatives --install /usr/bin/python python /usr/local/bin/python3.13 0 && \ + /usr/local/bin/python3.13 -m pip install --upgrade pip && \ + update-alternatives --remove pip3 /usr/local/bin/pip3.13 && \ + rm -rfv /usr/local/bin/pip3 /usr/bin/pip3 && \ + sudo ln -sfv /usr/local/bin/pip3.13 /usr/local/bin/pip && \ + apt install -y python3-pip + +################################################################## +# Version after install +################################################################## +RUN echo "=============================================" && \ + echo $(python3 --version) && \ + echo $(pip3 --version) && \ + echo "=============================================" && \ + echo $(python --version) && \ + echo $(pip --version) && \ + echo "=============================================" + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/python3.13/Makefile b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.13/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.13/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/astra/1.7-alse/python3.13/docker-compose.yml b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.13/docker-compose.yml new file mode 100644 index 000000000..bafd49bc8 --- /dev/null +++ b/linux/ecosystem/epicmorg/astra/1.7-alse/python3.13/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3' +services: + app: + image: "epicmorg/astralinux:1.7-python3.13" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile new file mode 100644 index 000000000..ba93ae024 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 +ARG K_JDK_VERSION=11.0.23 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java11 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile.develop new file mode 100644 index 000000000..2176cd180 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 +ARG K_JDK_VERSION=11.0.23 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java11 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/docker-compose.yml new file mode 100644 index 000000000..131f77024 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk11/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-jdk11" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-jdk11" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile new file mode 100644 index 000000000..a9583b0f7 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile.develop new file mode 100644 index 000000000..a0063d4c6 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/docker-compose.yml new file mode 100644 index 000000000..15383da75 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk16/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-jdk16" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-jdk16" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile new file mode 100644 index 000000000..dcd5f53a9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 +ARG K_JDK_VERSION=17.0.11 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile.develop new file mode 100644 index 000000000..11dfdc9da --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 +ARG K_JDK_VERSION=17.0.11 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/docker-compose.yml new file mode 100644 index 000000000..3b54ccce1 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk17/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-jdk17" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-jdk17" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile new file mode 100644 index 000000000..a7dfb8879 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 +ARG K_JDK_VERSION=18.0.2.1 +ARG K_JDK_BUILD_VERSION=1 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile.develop new file mode 100644 index 000000000..fe3fd2d11 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 +ARG K_JDK_VERSION=18.0.2.1 +ARG K_JDK_BUILD_VERSION=1 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/docker-compose.yml new file mode 100644 index 000000000..20dbda137 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk18/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-jdk18" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-jdk18" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile new file mode 100644 index 000000000..eb5744483 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 +ARG K_JDK_VERSION=19.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile.develop new file mode 100644 index 000000000..29f8fc5e2 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 +ARG K_JDK_VERSION=19.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/docker-compose.yml new file mode 100644 index 000000000..dbd70def0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk19/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-jdk19" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-jdk19" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile new file mode 100644 index 000000000..af0438822 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 +ARG K_JDK_VERSION=20.0.2 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java20 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile.develop new file mode 100644 index 000000000..977a5427c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 +ARG K_JDK_VERSION=20.0.2 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java20 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/docker-compose.yml new file mode 100644 index 000000000..7267a36d7 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk20/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-jdk20" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-jdk20" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile new file mode 100644 index 000000000..37b977a57 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 +ARG K_JDK_VERSION=21.0.3 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile.develop new file mode 100644 index 000000000..8bfbe10a2 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 +ARG K_JDK_VERSION=21.0.3 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/docker-compose.yml new file mode 100644 index 000000000..9443a43b8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk21/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-jdk21" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-jdk21" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile new file mode 100644 index 000000000..825fef56a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile.develop new file mode 100644 index 000000000..ac9ae8569 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/docker-compose.yml new file mode 100644 index 000000000..ca609f957 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk22/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-jdk22" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-jdk22" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile new file mode 100644 index 000000000..5040f99cd --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile @@ -0,0 +1,75 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java6 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-6 && \ + java -version + +################################################################## +# Additional settings +################################################################## +#ENV MAVEN_VERSION=3.9.6 +#ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +#ENV MAVEN_ROOT=/opt/maven +#ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +#ENV MAVEN_BIN=${MAVEN_PATH}/bin +#ARG MAVEN_TEMP=/tmp/MAVEN.zip + +#ENV GRADLE_VERSION=7.6.4 +#ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +#ENV GRADLE_ROOT=/opt/gradle +#ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +#ENV GRADLE_BIN=${GRADLE_PATH}/bin +#ARG GRADLE_TEMP=/tmp/gradle.zip + +#ENV KTC_VERSION=1.9.22 +#ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +#ARG KTC_TEMP=/tmp/kotlinc.zip +#ENV KTC_ROOT=/opt/kotlin +#ENV KTC_PATH=${KTC_ROOT}/kotlinc +#ENV KTC_BIN=${KTC_PATH}/bin + +#RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +#ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +#ENV MAVEN_HOME=${MAVEN_ROOT} +#ENV M2_HOME=${MAVEN_ROOT} + +#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +#RUN chmod +x -R ${MAVEN_BIN} +#RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile.develop new file mode 100644 index 000000000..66c71a32d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Dockerfile.develop @@ -0,0 +1,76 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java6 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-6 && \ + java -version + +################################################################## +# Additional settings +################################################################## +#ENV MAVEN_VERSION=3.9.6 +#ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +#ENV MAVEN_ROOT=/opt/maven +#ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +#ENV MAVEN_BIN=${MAVEN_PATH}/bin +#ARG MAVEN_TEMP=/tmp/MAVEN.zip + +#ENV GRADLE_VERSION=7.6.4 +#ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +#ENV GRADLE_ROOT=/opt/gradle +#ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +#ENV GRADLE_BIN=${GRADLE_PATH}/bin +#ARG GRADLE_TEMP=/tmp/gradle.zip + +#ENV KTC_VERSION=1.9.22 +#ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +#ARG KTC_TEMP=/tmp/kotlinc.zip +#ENV KTC_ROOT=/opt/kotlin +#ENV KTC_PATH=${KTC_ROOT}/kotlinc +#ENV KTC_BIN=${KTC_PATH}/bin + +#RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +#ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +#ENV MAVEN_HOME=${MAVEN_ROOT} +#ENV M2_HOME=${MAVEN_ROOT} + +#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +#RUN chmod +x -R ${MAVEN_BIN} +#RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/docker-compose.yml new file mode 100644 index 000000000..1fb538149 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk6/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-jdk6" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-jdk6" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile new file mode 100644 index 000000000..662cf835f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile @@ -0,0 +1,76 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java7 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-7 && \ + java -version + +################################################################## +# Additional settings +################################################################## +#ENV MAVEN_VERSION=3.9.6 +#ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +#ENV MAVEN_ROOT=/opt/maven +#ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +#ENV MAVEN_BIN=${MAVEN_PATH}/bin +#ARG MAVEN_TEMP=/tmp/MAVEN.zip + +#ENV GRADLE_VERSION=7.6.4 +#ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +#ENV GRADLE_ROOT=/opt/gradle +#ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +#ENV GRADLE_BIN=${GRADLE_PATH}/bin +#ARG GRADLE_TEMP=/tmp/gradle.zip + +#ENV KTC_VERSION=1.9.22 +#ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +#ARG KTC_TEMP=/tmp/kotlinc.zip +#ENV KTC_ROOT=/opt/kotlin +#ENV KTC_PATH=${KTC_ROOT}/kotlinc +#ENV KTC_BIN=${KTC_PATH}/bin + +#RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +#ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +#ENV MAVEN_HOME=${MAVEN_ROOT} +#ENV M2_HOME=${MAVEN_ROOT} + +#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +#RUN chmod +x -R ${MAVEN_BIN} +#RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile.develop new file mode 100644 index 000000000..6c819a7fa --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Dockerfile.develop @@ -0,0 +1,76 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java7 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-7 && \ + java -version + +################################################################## +# Additional settings +################################################################## +#ENV MAVEN_VERSION=3.9.6 +#ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +#ENV MAVEN_ROOT=/opt/maven +#ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +#ENV MAVEN_BIN=${MAVEN_PATH}/bin +#ARG MAVEN_TEMP=/tmp/MAVEN.zip + +#ENV GRADLE_VERSION=7.6.4 +#ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +#ENV GRADLE_ROOT=/opt/gradle +#ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +#ENV GRADLE_BIN=${GRADLE_PATH}/bin +#ARG GRADLE_TEMP=/tmp/gradle.zip + +#ENV KTC_VERSION=1.9.22 +#ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +#ARG KTC_TEMP=/tmp/kotlinc.zip +#ENV KTC_ROOT=/opt/kotlin +#ENV KTC_PATH=${KTC_ROOT}/kotlinc +#ENV KTC_BIN=${KTC_PATH}/bin + +#RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +#ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +#ENV MAVEN_HOME=${MAVEN_ROOT} +#ENV M2_HOME=${MAVEN_ROOT} + +#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +#RUN chmod +x -R ${MAVEN_BIN} +#RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/docker-compose.yml new file mode 100644 index 000000000..19d65359f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk7/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-jdk7" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-jdk7" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile new file mode 100644 index 000000000..4bd0e7df2 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 +ARG K_JDK_VERSION=8u412 +ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java8 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile.develop new file mode 100644 index 000000000..18e01b788 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:squeeze-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 +ARG K_JDK_VERSION=8u412 +ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java8 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/docker-compose.yml new file mode 100644 index 000000000..89347580e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/jdk8/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:squeeze-jdk8" + build: + context: . + app-develop: + image: "epicmorg/debian:squeeze-develop-jdk8" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile index ef4a110ec..a0f59b191 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile @@ -87,6 +87,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio subversion-tools \ zip +# Global disable ssl verify due very old dists +RUN git config --global http.sslVerify false + ################################################################## # installing fs-tools ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile index 9f2ecc919..41277b993 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile @@ -63,6 +63,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys +RUN echo insecure >> ~/.curlrc RUN update-ca-certificates --fresh ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile new file mode 100644 index 000000000..efbe7edb5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 +ARG K_JDK_VERSION=11.0.23 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java11 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile.develop new file mode 100644 index 000000000..cdaae2760 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 +ARG K_JDK_VERSION=11.0.23 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java11 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/docker-compose.yml new file mode 100644 index 000000000..8fa3582cf --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk11/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-jdk11" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-jdk11" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile new file mode 100644 index 000000000..2743c258f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile.develop new file mode 100644 index 000000000..79994281b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/docker-compose.yml new file mode 100644 index 000000000..0e6ba048f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk16/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-jdk16" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-jdk16" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile new file mode 100644 index 000000000..245dee6e8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 +ARG K_JDK_VERSION=17.0.11 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile.develop new file mode 100644 index 000000000..f1c1a75fa --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 +ARG K_JDK_VERSION=17.0.11 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/docker-compose.yml new file mode 100644 index 000000000..e74135510 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk17/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-jdk17" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-jdk17" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile new file mode 100644 index 000000000..d4d91e46c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 +ARG K_JDK_VERSION=18.0.2.1 +ARG K_JDK_BUILD_VERSION=1 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile.develop new file mode 100644 index 000000000..65cd2ad36 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 +ARG K_JDK_VERSION=18.0.2.1 +ARG K_JDK_BUILD_VERSION=1 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/docker-compose.yml new file mode 100644 index 000000000..ad7060a3c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk18/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-jdk18" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-jdk18" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile new file mode 100644 index 000000000..39ea0358a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 +ARG K_JDK_VERSION=19.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile.develop new file mode 100644 index 000000000..bf44ca2a2 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 +ARG K_JDK_VERSION=19.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/docker-compose.yml new file mode 100644 index 000000000..c24c6fb44 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk19/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-jdk19" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-jdk19" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile new file mode 100644 index 000000000..69bec0d72 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 +ARG K_JDK_VERSION=20.0.2 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java20 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile.develop new file mode 100644 index 000000000..2bfa27d21 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 +ARG K_JDK_VERSION=20.0.2 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java20 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/docker-compose.yml new file mode 100644 index 000000000..db4f9e357 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk20/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-jdk20" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-jdk20" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile new file mode 100644 index 000000000..8d6cb0894 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 +ARG K_JDK_VERSION=21.0.3 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile.develop new file mode 100644 index 000000000..fb580cdb7 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 +ARG K_JDK_VERSION=21.0.3 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/docker-compose.yml new file mode 100644 index 000000000..537b5d607 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk21/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-jdk21" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-jdk21" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile new file mode 100644 index 000000000..fa92cb207 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile.develop new file mode 100644 index 000000000..5a391cc70 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/docker-compose.yml new file mode 100644 index 000000000..462b1733b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk22/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-jdk22" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-jdk22" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile new file mode 100644 index 000000000..62015fb3f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile @@ -0,0 +1,75 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java6 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-6 && \ + java -version + +################################################################## +# Additional settings +################################################################## +#ENV MAVEN_VERSION=3.9.6 +#ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +#ENV MAVEN_ROOT=/opt/maven +#ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +#ENV MAVEN_BIN=${MAVEN_PATH}/bin +#ARG MAVEN_TEMP=/tmp/MAVEN.zip + +#ENV GRADLE_VERSION=7.6.4 +#ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +#ENV GRADLE_ROOT=/opt/gradle +#ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +#ENV GRADLE_BIN=${GRADLE_PATH}/bin +#ARG GRADLE_TEMP=/tmp/gradle.zip + +#ENV KTC_VERSION=1.9.22 +#ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +#ARG KTC_TEMP=/tmp/kotlinc.zip +#ENV KTC_ROOT=/opt/kotlin +#ENV KTC_PATH=${KTC_ROOT}/kotlinc +#ENV KTC_BIN=${KTC_PATH}/bin + +#RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +#ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +#ENV MAVEN_HOME=${MAVEN_ROOT} +#ENV M2_HOME=${MAVEN_ROOT} + +#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +#RUN chmod +x -R ${MAVEN_BIN} +#RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile.develop new file mode 100644 index 000000000..afdae26d2 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Dockerfile.develop @@ -0,0 +1,76 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java6 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-6 && \ + java -version + +################################################################## +# Additional settings +################################################################## +#ENV MAVEN_VERSION=3.9.6 +#ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +#ENV MAVEN_ROOT=/opt/maven +#ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +#ENV MAVEN_BIN=${MAVEN_PATH}/bin +#ARG MAVEN_TEMP=/tmp/MAVEN.zip + +#ENV GRADLE_VERSION=7.6.4 +#ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +#ENV GRADLE_ROOT=/opt/gradle +#ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +#ENV GRADLE_BIN=${GRADLE_PATH}/bin +#ARG GRADLE_TEMP=/tmp/gradle.zip + +#ENV KTC_VERSION=1.9.22 +#ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +#ARG KTC_TEMP=/tmp/kotlinc.zip +#ENV KTC_ROOT=/opt/kotlin +#ENV KTC_PATH=${KTC_ROOT}/kotlinc +#ENV KTC_BIN=${KTC_PATH}/bin + +#RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +#ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +#ENV MAVEN_HOME=${MAVEN_ROOT} +#ENV M2_HOME=${MAVEN_ROOT} + +#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +#RUN chmod +x -R ${MAVEN_BIN} +#RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/docker-compose.yml new file mode 100644 index 000000000..2c712898e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk6/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-jdk6" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-jdk6" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile new file mode 100644 index 000000000..477f66868 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile @@ -0,0 +1,76 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java7 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-7 && \ + java -version + +################################################################## +# Additional settings +################################################################## +#ENV MAVEN_VERSION=3.9.6 +#ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +#ENV MAVEN_ROOT=/opt/maven +#ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +#ENV MAVEN_BIN=${MAVEN_PATH}/bin +#ARG MAVEN_TEMP=/tmp/MAVEN.zip + +#ENV GRADLE_VERSION=7.6.4 +#ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +#ENV GRADLE_ROOT=/opt/gradle +#ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +#ENV GRADLE_BIN=${GRADLE_PATH}/bin +#ARG GRADLE_TEMP=/tmp/gradle.zip + +#ENV KTC_VERSION=1.9.22 +#ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +#ARG KTC_TEMP=/tmp/kotlinc.zip +#ENV KTC_ROOT=/opt/kotlin +#ENV KTC_PATH=${KTC_ROOT}/kotlinc +#ENV KTC_BIN=${KTC_PATH}/bin + +#RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +#ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +#ENV MAVEN_HOME=${MAVEN_ROOT} +#ENV M2_HOME=${MAVEN_ROOT} + +#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +#RUN chmod +x -R ${MAVEN_BIN} +#RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile.develop new file mode 100644 index 000000000..4edf52882 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Dockerfile.develop @@ -0,0 +1,76 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java7 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-7 && \ + java -version + +################################################################## +# Additional settings +################################################################## +#ENV MAVEN_VERSION=3.9.6 +#ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +#ENV MAVEN_ROOT=/opt/maven +#ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +#ENV MAVEN_BIN=${MAVEN_PATH}/bin +#ARG MAVEN_TEMP=/tmp/MAVEN.zip + +#ENV GRADLE_VERSION=7.6.4 +#ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +#ENV GRADLE_ROOT=/opt/gradle +#ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +#ENV GRADLE_BIN=${GRADLE_PATH}/bin +#ARG GRADLE_TEMP=/tmp/gradle.zip + +#ENV KTC_VERSION=1.9.22 +#ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +#ARG KTC_TEMP=/tmp/kotlinc.zip +#ENV KTC_ROOT=/opt/kotlin +#ENV KTC_PATH=${KTC_ROOT}/kotlinc +#ENV KTC_BIN=${KTC_PATH}/bin + +#RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +#ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +#ENV MAVEN_HOME=${MAVEN_ROOT} +#ENV M2_HOME=${MAVEN_ROOT} + +#RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +#RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +#RUN chmod +x -R ${MAVEN_BIN} +#RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +#RUN 7z x ${KTC_TEMP} -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/docker-compose.yml new file mode 100644 index 000000000..ef3fcd7b3 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk7/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-jdk7" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-jdk7" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile new file mode 100644 index 000000000..ec8101280 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 +ARG K_JDK_VERSION=8u412 +ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java8 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile.develop new file mode 100644 index 000000000..0db5511f7 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:wheezy-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 +ARG K_JDK_VERSION=8u412 +ARG K_JDK_BUILD_VERSION=b08 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java8 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/docker-compose.yml new file mode 100644 index 000000000..370cc141f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/jdk8/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:wheezy-jdk8" + build: + context: . + app-develop: + image: "epicmorg/debian:wheezy-develop-jdk8" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/main/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/main/Dockerfile index 223409b4a..954ce830f 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/main/Dockerfile @@ -95,6 +95,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio zip \ pev +# Global disable ssl verify due very old dists +RUN git config --global http.sslVerify false + ################################################################## # installing fs-tools ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/slim/Dockerfile index c070b07cb..b24cba64e 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/slim/Dockerfile @@ -64,6 +64,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys +RUN echo insecure >> ~/.curlrc RUN update-ca-certificates --fresh ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile index 063bd3c54..20e35e5c2 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:jessie LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-11.0.23 +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 ARG K_JDK_VERSION=11.0.23 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin11-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK11U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop index 112a2d526..585ed25e0 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:jessie-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-11.0.23 +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 ARG K_JDK_VERSION=11.0.23 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin11-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK11U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile new file mode 100644 index 000000000..6be39a7d4 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.develop new file mode 100644 index 000000000..6d28ff2ba --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/docker-compose.yml new file mode 100644 index 000000000..221f08634 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-jdk16" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-jdk16" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile index f07e8f5f0..3c90983e3 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:jessie LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-17.0.11 +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 ARG K_JDK_VERSION=17.0.11 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK17U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop index 1f09814c0..ea0263956 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:jessie-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-17.0.11 +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 ARG K_JDK_VERSION=17.0.11 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK17U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile new file mode 100644 index 000000000..c9c608988 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 +ARG K_JDK_VERSION=18.0.2.1 +ARG K_JDK_BUILD_VERSION=1 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop new file mode 100644 index 000000000..ce7cdebb3 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 +ARG K_JDK_VERSION=18.0.2.1 +ARG K_JDK_BUILD_VERSION=1 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/docker-compose.yml new file mode 100644 index 000000000..ac6b20f0d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-jdk18" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-jdk18" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile new file mode 100644 index 000000000..e606138ba --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 +ARG K_JDK_VERSION=19.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile.develop new file mode 100644 index 000000000..e57d210d4 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 +ARG K_JDK_VERSION=19.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/docker-compose.yml new file mode 100644 index 000000000..049b34515 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-jdk19" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-jdk19" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile index d03521a7c..9ac857c90 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:jessie LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-20.0.2 +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 ARG K_JDK_VERSION=20.0.2 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin20-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK20U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile.develop index 875effbde..d714aed48 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:jessie-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-20.0.2 +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 ARG K_JDK_VERSION=20.0.2 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin20-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK20U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile index 9ae4179d3..9b0f684e3 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:jessie LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-21.0.3 +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 ARG K_JDK_VERSION=21.0.3 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK21U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile.develop index 0c62b1bbd..c4eec667d 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:jessie-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-21.0.3 +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 ARG K_JDK_VERSION=21.0.3 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK21U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile new file mode 100644 index 000000000..e10a6f7fa --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile.develop new file mode 100644 index 000000000..55ff185b9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/docker-compose.yml new file mode 100644 index 000000000..0de172eaf --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk22/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:jessie-jdk22" + build: + context: . + app-develop: + image: "epicmorg/debian:jessie-develop-jdk22" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile index 42c5aaa13..1d780aec4 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:jessie LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk8u412 +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 ARG K_JDK_VERSION=8u412 ARG K_JDK_BUILD_VERSION=b08 -ARG K_JDK_URL=https://github.com/adoptium/temurin8-binaries/releases/download/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK8U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop index 0f3470adb..e79d6d638 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:jessie-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk8u412 +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 ARG K_JDK_VERSION=8u412 ARG K_JDK_BUILD_VERSION=b08 -ARG K_JDK_URL=https://github.com/adoptium/temurin8-binaries/releases/download/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK8U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile index c9eafb300..139b6cfa9 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile @@ -104,6 +104,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio zip \ pev +# Global disable ssl verify due very old dists +RUN git config --global http.sslVerify false + ################################################################## # installing fs-tools ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile index a7ffb4197..536e8cab9 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile @@ -64,6 +64,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys +RUN echo insecure >> ~/.curlrc RUN update-ca-certificates --fresh ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile index daec44e5c..549ba2bbe 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:stretch LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-11.0.23 +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 ARG K_JDK_VERSION=11.0.23 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin11-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK11U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop index 03d18da0b..3a4f3b368 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:stretch-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-11.0.23 +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 ARG K_JDK_VERSION=11.0.23 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin11-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK11U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile new file mode 100644 index 000000000..5462d0c05 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile.develop new file mode 100644 index 000000000..9e17314bc --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/docker-compose.yml new file mode 100644 index 000000000..3b6bdac2b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-jdk16" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-jdk16" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile index f92628866..9439a82c2 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:stretch LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-17.0.11 +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 ARG K_JDK_VERSION=17.0.11 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK17U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop index d0d8155a9..fbcbdaf2a 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:stretch-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-17.0.11 +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 ARG K_JDK_VERSION=17.0.11 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK17U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile new file mode 100644 index 000000000..596c9657c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 +ARG K_JDK_VERSION=18.0.2.1 +ARG K_JDK_BUILD_VERSION=1 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop new file mode 100644 index 000000000..db70db11b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 +ARG K_JDK_VERSION=18.0.2.1 +ARG K_JDK_BUILD_VERSION=1 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/docker-compose.yml new file mode 100644 index 000000000..ec2bc7199 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-jdk18" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-jdk18" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile new file mode 100644 index 000000000..871742a4a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 +ARG K_JDK_VERSION=19.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile.develop new file mode 100644 index 000000000..45580260e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 +ARG K_JDK_VERSION=19.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/docker-compose.yml new file mode 100644 index 000000000..e605ae16f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk19/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-jdk19" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-jdk19" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile new file mode 100644 index 000000000..81c2bea0e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 +ARG K_JDK_VERSION=20.0.2 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java20 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile.develop new file mode 100644 index 000000000..e987b8cf5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 +ARG K_JDK_VERSION=20.0.2 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java20 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/docker-compose.yml new file mode 100644 index 000000000..0e2f1939a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk20/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-jdk20" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-jdk20" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile new file mode 100644 index 000000000..bebf5a5ca --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 +ARG K_JDK_VERSION=21.0.3 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile.develop new file mode 100644 index 000000000..918a35ce6 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 +ARG K_JDK_VERSION=21.0.3 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/docker-compose.yml new file mode 100644 index 000000000..1fbda5e48 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk21/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-jdk21" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-jdk21" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile new file mode 100644 index 000000000..763a7df0c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:stretch +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile.develop new file mode 100644 index 000000000..cf041fca0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:stretch-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/docker-compose.yml new file mode 100644 index 000000000..01615fee3 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk22/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:stretch-jdk22" + build: + context: . + app-develop: + image: "epicmorg/debian:stretch-develop-jdk22" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile index 6c7ae608d..23a36792f 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:stretch LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk8u412 +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 ARG K_JDK_VERSION=8u412 ARG K_JDK_BUILD_VERSION=b08 -ARG K_JDK_URL=https://github.com/adoptium/temurin8-binaries/releases/download/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK8U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop index 89e4685f1..cd1f8926d 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:stretch-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk8u412 +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 ARG K_JDK_VERSION=8u412 ARG K_JDK_BUILD_VERSION=b08 -ARG K_JDK_URL=https://github.com/adoptium/temurin8-binaries/releases/download/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK8U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/main/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/main/Dockerfile index 2743acf46..201efd726 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/main/Dockerfile @@ -113,6 +113,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio subversion-tools \ pev +# Global disable ssl verify due very old dists +RUN git config --global http.sslVerify false + ################################################################## # installing fs-tools ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile index 2ab89a626..5eac8d3a0 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile @@ -65,6 +65,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio #RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys #RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys +RUN echo insecure >> ~/.curlrc RUN update-ca-certificates --fresh ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile index 4cc767648..a1de5f0a3 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:buster LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-11.0.23 +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 ARG K_JDK_VERSION=11.0.23 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin11-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK11U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop index 753844187..1a83c3077 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:buster-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-11.0.23 +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 ARG K_JDK_VERSION=11.0.23 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin11-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK11U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile new file mode 100644 index 000000000..8f5f76d81 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile.develop new file mode 100644 index 000000000..7930d5c12 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk16/docker-compose.yml new file mode 100644 index 000000000..cef33db5c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk16/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-jdk16" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-jdk16" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile index bffe71121..882c1b9dd 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:buster LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-17.0.11 +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 ARG K_JDK_VERSION=17.0.11 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK17U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop index 787b66661..1f692557e 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:buster-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-17.0.11 +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 ARG K_JDK_VERSION=17.0.11 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK17U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile index 3e93ee845..ec761cd51 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:buster LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-18.0.2.1 +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 ARG K_JDK_VERSION=18.0.2.1 ARG K_JDK_BUILD_VERSION=1 -ARG K_JDK_URL=https://github.com/adoptium/temurin18-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK18U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop index f4c0b38e1..9631719f5 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:buster-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-18.0.2.1 +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 ARG K_JDK_VERSION=18.0.2.1 ARG K_JDK_BUILD_VERSION=1 -ARG K_JDK_URL=https://github.com/adoptium/temurin18-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK18U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile index dbd6e88cd..102df21c0 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:buster LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-19.0.2 +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 ARG K_JDK_VERSION=19.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin19-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK19U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop index 8fc5d4a8b..4fe581849 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:buster-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-19.0.2 +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 ARG K_JDK_VERSION=19.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin19-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK19U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile index e21d3515b..55530db40 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:buster LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-20.0.2 +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 ARG K_JDK_VERSION=20.0.2 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin20-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK20U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile.develop index 0f3a733ad..47d80ae36 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:buster-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-20.0.2 +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 ARG K_JDK_VERSION=20.0.2 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin20-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK20U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile new file mode 100644 index 000000000..4190f1cf8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 +ARG K_JDK_VERSION=21.0.3 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile.develop new file mode 100644 index 000000000..dc7758fa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 +ARG K_JDK_VERSION=21.0.3 +ARG K_JDK_BUILD_VERSION=9 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk21/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk21/docker-compose.yml new file mode 100644 index 000000000..595c961c3 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk21/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-jdk21" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-jdk21" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile new file mode 100644 index 000000000..63d774b33 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:buster +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile.develop new file mode 100644 index 000000000..faf941836 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:buster-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk22/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk22/docker-compose.yml new file mode 100644 index 000000000..2352a9ef2 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk22/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:buster-jdk22" + build: + context: . + app-develop: + image: "epicmorg/debian:buster-develop-jdk22" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile index a96d4e018..6d87d21f7 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:buster LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk8u412 +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 ARG K_JDK_VERSION=8u412 ARG K_JDK_BUILD_VERSION=b08 -ARG K_JDK_URL=https://github.com/adoptium/temurin8-binaries/releases/download/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK8U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop index aa005ed53..bb6a05489 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:buster-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk8u412 +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 ARG K_JDK_VERSION=8u412 ARG K_JDK_BUILD_VERSION=b08 -ARG K_JDK_URL=https://github.com/adoptium/temurin8-binaries/releases/download/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK8U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile index 868d72c36..b5142807e 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-11.0.23 +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 ARG K_JDK_VERSION=11.0.23 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin11-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK11U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.develop index e9e0ffef3..cd9bedd2a 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-11.0.23 +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 ARG K_JDK_VERSION=11.0.23 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin11-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK11U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile new file mode 100644 index 000000000..b2314def1 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:bullseye +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile.develop new file mode 100644 index 000000000..606ea3289 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:bullseye-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/docker-compose.yml new file mode 100644 index 000000000..a5b58cb28 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:bullseye-jdk16" + build: + context: . + app-develop: + image: "epicmorg/debian:bullseye-develop-jdk16" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile index f79d2acfa..9ee6f093c 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-17.0.11 +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 ARG K_JDK_VERSION=17.0.11 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK17U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile.develop index 5f527440f..2d00fd455 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-17.0.11 +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 ARG K_JDK_VERSION=17.0.11 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK17U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile index edaf29829..81125b5d2 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-18.0.2.1 +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 ARG K_JDK_VERSION=18.0.2.1 ARG K_JDK_BUILD_VERSION=1 -ARG K_JDK_URL=https://github.com/adoptium/temurin18-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK18U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile.develop index ebc1971dc..d06c57b91 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-18.0.2.1 +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 ARG K_JDK_VERSION=18.0.2.1 ARG K_JDK_BUILD_VERSION=1 -ARG K_JDK_URL=https://github.com/adoptium/temurin18-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK18U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile index bba4ca954..717f8db5f 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-19.0.2 +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 ARG K_JDK_VERSION=19.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin19-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK19U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile.develop index f4078d8e6..7b40c7d36 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-19.0.2 +ARG K_JDK_MAJOR_VERSION=19 +ARG K_JDK_FULL_VERSION=jdk-19.0.2 ARG K_JDK_VERSION=19.0.2 ARG K_JDK_BUILD_VERSION=7 -ARG K_JDK_URL=https://github.com/adoptium/temurin19-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK19U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile index 67244ec1f..fed94eaa0 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-20.0.2 +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 ARG K_JDK_VERSION=20.0.2 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin20-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK20U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile.develop index ae82762fa..f4648ab33 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-20.0.2 +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 ARG K_JDK_VERSION=20.0.2 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin20-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK20U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile index bc21f95d7..a629cb509 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-21.0.3 +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 ARG K_JDK_VERSION=21.0.3 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK21U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile.develop index a0565379c..e5b273ffd 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-21.0.3 +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 ARG K_JDK_VERSION=21.0.3 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK21U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile new file mode 100644 index 000000000..5252b08da --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:bullseye +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile.develop new file mode 100644 index 000000000..aee62ea72 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:bullseye-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/docker-compose.yml new file mode 100644 index 000000000..9eb764f5b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk22/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:bullseye-jdk22" + build: + context: . + app-develop: + image: "epicmorg/debian:bullseye-develop-jdk22" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile index 79dd1a095..9127bec9b 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk8u412 +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 ARG K_JDK_VERSION=8u412 ARG K_JDK_BUILD_VERSION=b08 -ARG K_JDK_URL=https://github.com/adoptium/temurin8-binaries/releases/download/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK8U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.develop index 64f4a3950..5db466488 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:bullseye-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk8u412 +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 ARG K_JDK_VERSION=8u412 ARG K_JDK_BUILD_VERSION=b08 -ARG K_JDK_URL=https://github.com/adoptium/temurin8-binaries/releases/download/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK8U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile index a7c31199f..1d8f117eb 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-11.0.23 +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 ARG K_JDK_VERSION=11.0.23 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin11-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK11U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile.develop index c03947585..061034e98 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:bookworm-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-11.0.23 +ARG K_JDK_MAJOR_VERSION=11 +ARG K_JDK_FULL_VERSION=jdk-11.0.23 ARG K_JDK_VERSION=11.0.23 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin11-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK11U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile new file mode 100644 index 000000000..f7f056766 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java17 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile.develop new file mode 100644 index 000000000..8a2de7494 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:bookworm-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=16 +ARG K_JDK_FULL_VERSION=jdk-16.0.2 +ARG K_JDK_VERSION=16.0.2 +ARG K_JDK_BUILD_VERSION=7 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK{K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java16 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/docker-compose.yml new file mode 100644 index 000000000..e7f607b7c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:bookworm-jdk16" + build: + context: . + app-develop: + image: "epicmorg/debian:bookworm-develop-jdk16" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile index f6910776c..9c384dccc 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-17.0.11 +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 ARG K_JDK_VERSION=17.0.11 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK17U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile.develop index 908709ab4..af6333029 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:bookworm-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-17.0.11 +ARG K_JDK_MAJOR_VERSION=17 +ARG K_JDK_FULL_VERSION=jdk-17.0.11 ARG K_JDK_VERSION=17.0.11 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin17-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK17U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile new file mode 100644 index 000000000..de0ed49e9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 +ARG K_JDK_VERSION=18.0.2.1 +ARG K_JDK_BUILD_VERSION=1 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java18 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile.develop new file mode 100644 index 000000000..e8c74bd5c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:bookworm-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=18 +ARG K_JDK_FULL_VERSION=jdk-18.0.2.1 +ARG K_JDK_VERSION=18.0.2.1 +ARG K_JDK_BUILD_VERSION=1 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java18 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/docker-compose.yml new file mode 100644 index 000000000..154c86dbd --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:bookworm-jdk18" + build: + context: . + app-develop: + image: "epicmorg/debian:bookworm-develop-jdk18" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile index 77a47105b..887a0632f 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-20.0.2 +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 ARG K_JDK_VERSION=20.0.2 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin20-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK20U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile.develop index 2876321f1..c2fbf4fbd 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:bookworm-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-20.0.2 +ARG K_JDK_MAJOR_VERSION=20 +ARG K_JDK_FULL_VERSION=jdk-20.0.2 ARG K_JDK_VERSION=20.0.2 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin20-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK20U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile index 754c37c31..e2623a9db 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-21.0.3 +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 ARG K_JDK_VERSION=21.0.3 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK21U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile.develop index 277f724d0..5b6855f0c 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:bookworm-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk-21.0.3 +ARG K_JDK_MAJOR_VERSION=21 +ARG K_JDK_FULL_VERSION=jdk-21.0.3 ARG K_JDK_VERSION=21.0.3 ARG K_JDK_BUILD_VERSION=9 -ARG K_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK21U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}+${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile new file mode 100644 index 000000000..2a4f423b6 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile @@ -0,0 +1,84 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile.develop new file mode 100644 index 000000000..f24f77164 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Dockerfile.develop @@ -0,0 +1,84 @@ +FROM epicmorg/debian:bookworm-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ARG K_JDK_MAJOR_VERSION=22 +ARG K_JDK_FULL_VERSION=jdk-22.0.1 +ARG K_JDK_VERSION=22.0.1 +ARG K_JDK_BUILD_VERSION=8 +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}_${K_JDK_BUILD_VERSION}.tar.gz + +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}+${K_JDK_BUILD_VERSION} +ENV PATH=$PATH:${JAVA_HOME}/bin + +################################################################## +# installing java21 +################################################################## +RUN curl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --location ${K_JDK_URL}?$(date +%s) \ + --header 'Cache-Control: no-cache, no-store' \ + --header 'Pragma: no-cache' | tar xzv --directory /opt && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.6 +ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip +ENV MAVEN_ROOT=/opt/maven +ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION} +ENV MAVEN_BIN=${MAVEN_PATH}/bin +ARG MAVEN_TEMP=/tmp/MAVEN.zip + +ENV GRADLE_VERSION=8.6 +ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip +ENV GRADLE_ROOT=/opt/gradle +ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION} +ENV GRADLE_BIN=${GRADLE_PATH}/bin +ARG GRADLE_TEMP=/tmp/gradle.zip + +ENV KTC_VERSION=1.9.22 +ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip +ARG KTC_TEMP=/tmp/kotlinc.zip +ENV KTC_ROOT=/opt/kotlin +ENV KTC_PATH=${KTC_ROOT}/kotlinc +ENV KTC_BIN=${KTC_PATH}/bin + +RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${GRADLE_PATH} +ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + +################################################################## +# Maven +################################################################## +ENV MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN curl --insecure --progress-bar -L -o ${MAVEN_TEMP} --retry 10 --retry-delay 0 ${MAVEN_LINK} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN curl --insecure --progress-bar -L -o ${GRADLE_TEMP} --retry 10 --retry-delay 0 ${GRADLE_LINK} +RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN curl --insecure --progress-bar -L -o ${KTC_TEMP} --retry 10 --retry-delay 0 ${KTC_LINK} +RUN 7z x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/docker-compose.yml new file mode 100644 index 000000000..434964991 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk22/docker-compose.yml @@ -0,0 +1,11 @@ +#version: '3' +services: + app: + image: "epicmorg/debian:bookworm-jdk22" + build: + context: . + app-develop: + image: "epicmorg/debian:bookworm-develop-jdk22" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile index 3e835e6bd..f074b89d8 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile @@ -2,12 +2,13 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk8u412 +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 ARG K_JDK_VERSION=8u412 ARG K_JDK_BUILD_VERSION=b08 -ARG K_JDK_URL=https://github.com/adoptium/temurin8-binaries/releases/download/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK8U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile.develop index 307263166..2d72c2c5a 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile.develop @@ -2,12 +2,13 @@ FROM epicmorg/debian:bookworm-develop LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_JDK_MAJOR_VERSION=jdk8u412 +ARG K_JDK_MAJOR_VERSION=8 +ARG K_JDK_FULL_VERSION=jdk8u412 ARG K_JDK_VERSION=8u412 ARG K_JDK_BUILD_VERSION=b08 -ARG K_JDK_URL=https://github.com/adoptium/temurin8-binaries/releases/download/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK8U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz +ARG K_JDK_URL=https://github.com/adoptium/temurin${K_JDK_MAJOR_VERSION}-binaries/releases/download/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION}/OpenJDK${K_JDK_MAJOR_VERSION}U-jdk_x64_linux_hotspot_${K_JDK_VERSION}${K_JDK_BUILD_VERSION}.tar.gz -ENV JAVA_HOME=/opt/${K_JDK_MAJOR_VERSION}-${K_JDK_BUILD_VERSION} +ENV JAVA_HOME=/opt/${K_JDK_FULL_VERSION}-${K_JDK_BUILD_VERSION} ENV PATH=$PATH:${JAVA_HOME}/bin ##################################################################