diff --git a/.github/workflows/epicmorg.advanced.nextcloud.images.yml b/.github/workflows/epicmorg.advanced.nextcloud.images.yml index 19ff7ea0a..faec78287 100644 --- a/.github/workflows/epicmorg.advanced.nextcloud.images.yml +++ b/.github/workflows/epicmorg.advanced.nextcloud.images.yml @@ -57,6 +57,12 @@ jobs: - name: "Build and Deploy Advanced Nextcloud 25 Stock Images:" run: cd linux/advanced/nextcloud/pure/25 && pwd && make build && make deploy + - name: "Build and Deploy Advanced Nextcloud 26 Stock Images:" + run: cd linux/advanced/nextcloud/pure/26 && pwd && make build && make deploy + + - name: "Build and Deploy Advanced Nextcloud 27 Stock Images:" + run: cd linux/advanced/nextcloud/pure/27 && pwd && make build && make deploy + - name: "Build and Deploy Advanced Nextcloud Latest Stock Images:" run: cd linux/advanced/nextcloud/pure/latest && pwd && make build && make deploy @@ -110,6 +116,12 @@ jobs: - name: "Build and Deploy Advanced Nextcloud 25 Patched Images:" run: cd linux/advanced/nextcloud/patched/25 && pwd && make build && make deploy + - name: "Build and Deploy Advanced Nextcloud 26 Patched Images:" + run: cd linux/advanced/nextcloud/patched/26 && pwd && make build && make deploy + + - name: "Build and Deploy Advanced Nextcloud 27 Patched Images:" + run: cd linux/advanced/nextcloud/patched/27 && pwd && make build && make deploy + - name: "Build and Deploy Advanced Nextcloud Latest Patched Images:" run: cd linux/advanced/nextcloud/patched/latest && pwd && make build && make deploy diff --git a/.github/workflows/epicmorg.base.images.current.debian10.yml b/.github/workflows/epicmorg.base.images.current.debian10.yml index 7d359b0eb..5a1120b60 100644 --- a/.github/workflows/epicmorg.base.images.current.debian10.yml +++ b/.github/workflows/epicmorg.base.images.current.debian10.yml @@ -41,22 +41,7 @@ jobs: - name: "Build and Deploy Debian 10 jdk11 Image:" run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk11 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 10 jdk12 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk12 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 10 jdk13 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk13 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 10 jdk14 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk14 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 10 jdk15 Image:" - run: cd linux/ecosystem/epicmorg/debian/10-buster/jdk15 && pwd && make build && make deploy - - - 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 diff --git a/.github/workflows/epicmorg.base.images.current.debian11.yml b/.github/workflows/epicmorg.base.images.current.debian11.yml index 25e7224f5..2d16c1806 100644 --- a/.github/workflows/epicmorg.base.images.current.debian11.yml +++ b/.github/workflows/epicmorg.base.images.current.debian11.yml @@ -41,22 +41,7 @@ jobs: - name: "Build and Deploy Debian 11 jdk11 Image:" run: cd linux/ecosystem/epicmorg/debian/11-bullseye/jdk11 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 11 jdk12 Image:" - run: cd linux/ecosystem/epicmorg/debian/11-bullseye/jdk12 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 11 jdk13 Image:" - run: cd linux/ecosystem/epicmorg/debian/11-bullseye/jdk13 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 11 jdk14 Image:" - run: cd linux/ecosystem/epicmorg/debian/11-bullseye/jdk14 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 11 jdk15 Image:" - run: cd linux/ecosystem/epicmorg/debian/11-bullseye/jdk15 && pwd && make build && make deploy - - - 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 @@ -69,6 +54,9 @@ jobs: - name: "Build and Deploy Debian 11 jdk20 Image:" run: cd linux/ecosystem/epicmorg/debian/11-bullseye/jdk20 && pwd && make build && make deploy + - name: "Build and Deploy Debian 11 jdk21 Image:" + run: cd linux/ecosystem/epicmorg/debian/11-bullseye/jdk21 && 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 6306fbbc9..6f86fa2ef 100644 --- a/.github/workflows/epicmorg.base.images.current.debian12.yml +++ b/.github/workflows/epicmorg.base.images.current.debian12.yml @@ -42,21 +42,6 @@ jobs: - name: "Build and Deploy Debian 12 jdk11 Image:" run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk11 && pwd && make build && make deploy - - name: "Build and Deploy Debian 12 jdk12 Image:" - run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk12 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 12 jdk13 Image:" - run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk13 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 12 jdk14 Image:" - run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk14 && pwd && make build && make deploy - - - name: "Build and Deploy Debian 12 jdk15 Image:" - run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk15 && pwd && make build && make deploy - - - 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 @@ -69,6 +54,9 @@ jobs: - name: "Build and Deploy Debian 12 jdk20 Image:" run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk20 && pwd && make build && make deploy + - name: "Build and Deploy Debian 12 jdk21 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/jdk21 && pwd && make build && make deploy + ################################################################################## - name: Cleanup diff --git a/CHANGELOG.md b/CHANGELOG.md index 88a5e140d..f4f150224 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog ## 2023 +* `sep-oct-nov-dec` + * `nextcloud` upgrade * `aug` * added `ninjam` server * EOL of `freegpt` by closing project by maintaner - [Em1tSan/freegpt-webui-ru](https://github.com/Em1tSan/freegpt-webui-ru). diff --git a/Makefile b/Makefile index 932b1ebdc..510cbad30 100644 --- a/Makefile +++ b/Makefile @@ -195,6 +195,7 @@ advanced-nextcloud-images: cd `pwd`/linux/advanced/nextcloud/pure/24 && pwd && make build && make deploy cd `pwd`/linux/advanced/nextcloud/pure/25 && pwd && make build && make deploy cd `pwd`/linux/advanced/nextcloud/pure/26 && pwd && make build && make deploy + cd `pwd`/linux/advanced/nextcloud/pure/27 && pwd && make build && make deploy advanced-nextcloud-patched-images: cd `pwd`/linux/advanced/nextcloud/patched/14 && pwd && make build && make deploy @@ -210,6 +211,7 @@ advanced-nextcloud-patched-images: cd `pwd`/linux/advanced/nextcloud/patched/24 && pwd && make build && make deploy cd `pwd`/linux/advanced/nextcloud/patched/25 && pwd && make build && make deploy cd `pwd`/linux/advanced/nextcloud/patched/26 && pwd && make build && make deploy + cd `pwd`/linux/advanced/nextcloud/patched/27 && pwd && make build && make deploy ecosystem-images: make bundle-base-images @@ -278,11 +280,6 @@ 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/jdk12 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk13 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk14 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk15 && 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 @@ -294,11 +291,6 @@ 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/jdk12 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk13 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk14 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk15 && 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 @@ -310,11 +302,6 @@ 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/jdk12 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk13 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk14 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/jdk15 && 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 @@ -328,11 +315,6 @@ ecosystem-debian-bullseye-images: cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk12 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk13 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk14 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk15 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19 && pwd && make build && make deploy @@ -346,11 +328,6 @@ ecosystem-debian-bookworm-images: cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk12 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk13 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk14 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk15 && pwd && make build && make deploy - cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk19 && pwd && make build && make deploy @@ -1148,6 +1125,7 @@ bundle-atlassian-altest: cd `pwd`/linux/ecosystem/atlassian/fisheye-crucible/latest && pwd && make build && make deploy cd `pwd`/linux/ecosystem/atlassian/jira/latest && pwd && make build && make deploy + bundle-atlassian: @echo "=======================================" @echo "===== Building Atlassian images =====" @@ -1168,4 +1146,44 @@ bundle-p4: @echo "=======================================" make ecosystem-perforce-base-images make ecosystem-perforce-proxy-images - \ No newline at end of file + + +bundle-debug-base6: + 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 +bundle-debug-base7: + 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 +bundle-debug-base8: + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/slim && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/main && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/develop && pwd && make build && make deploy +bundle-debug-base9: + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/slim && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/main && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/develop && pwd && make build && make deploy +bundle-debug-base10: + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/slim && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/main && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/10-buster/develop && pwd && make build && make deploy + + +bundle-cve: + cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/slim && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/main && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/develop && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/slim && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/main && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/develop && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.6.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/8/8.5.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/7/7.19.16 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/atlassian/confluence/latest && pwd && make build && make deploy diff --git a/linux/advanced/nextcloud/pure/14/Dockerfile b/linux/advanced/nextcloud/pure/14/Dockerfile index 9f7eb49ba..62fa02921 100644 --- a/linux/advanced/nextcloud/pure/14/Dockerfile +++ b/linux/advanced/nextcloud/pure/14/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/15/Dockerfile b/linux/advanced/nextcloud/pure/15/Dockerfile index 54c22313f..70c1994b0 100644 --- a/linux/advanced/nextcloud/pure/15/Dockerfile +++ b/linux/advanced/nextcloud/pure/15/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/16/Dockerfile b/linux/advanced/nextcloud/pure/16/Dockerfile index f659ca113..4d3cba95a 100644 --- a/linux/advanced/nextcloud/pure/16/Dockerfile +++ b/linux/advanced/nextcloud/pure/16/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/17/Dockerfile b/linux/advanced/nextcloud/pure/17/Dockerfile index 80de689ee..d0dc46c33 100644 --- a/linux/advanced/nextcloud/pure/17/Dockerfile +++ b/linux/advanced/nextcloud/pure/17/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/18/Dockerfile b/linux/advanced/nextcloud/pure/18/Dockerfile index b193f9914..b16cb672a 100644 --- a/linux/advanced/nextcloud/pure/18/Dockerfile +++ b/linux/advanced/nextcloud/pure/18/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/19/Dockerfile b/linux/advanced/nextcloud/pure/19/Dockerfile index 4721f61b5..19bf5e82a 100644 --- a/linux/advanced/nextcloud/pure/19/Dockerfile +++ b/linux/advanced/nextcloud/pure/19/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/20/Dockerfile b/linux/advanced/nextcloud/pure/20/Dockerfile index 27669ea28..8aef738ff 100644 --- a/linux/advanced/nextcloud/pure/20/Dockerfile +++ b/linux/advanced/nextcloud/pure/20/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/21/Dockerfile b/linux/advanced/nextcloud/pure/21/Dockerfile index 2404e374b..df5ba58fb 100644 --- a/linux/advanced/nextcloud/pure/21/Dockerfile +++ b/linux/advanced/nextcloud/pure/21/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/22/Dockerfile b/linux/advanced/nextcloud/pure/22/Dockerfile index 0eb1fd0b0..b8fcd26c9 100644 --- a/linux/advanced/nextcloud/pure/22/Dockerfile +++ b/linux/advanced/nextcloud/pure/22/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/23/Dockerfile b/linux/advanced/nextcloud/pure/23/Dockerfile index a0f2c0695..f40682481 100644 --- a/linux/advanced/nextcloud/pure/23/Dockerfile +++ b/linux/advanced/nextcloud/pure/23/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/24/Dockerfile b/linux/advanced/nextcloud/pure/24/Dockerfile index d3eed6a92..abd2e1d6e 100644 --- a/linux/advanced/nextcloud/pure/24/Dockerfile +++ b/linux/advanced/nextcloud/pure/24/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/25/Dockerfile b/linux/advanced/nextcloud/pure/25/Dockerfile index 19b696ebf..ffbb9d1a9 100644 --- a/linux/advanced/nextcloud/pure/25/Dockerfile +++ b/linux/advanced/nextcloud/pure/25/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/26/Dockerfile b/linux/advanced/nextcloud/pure/26/Dockerfile index 48d5b567d..e415157a8 100644 --- a/linux/advanced/nextcloud/pure/26/Dockerfile +++ b/linux/advanced/nextcloud/pure/26/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/26/sources.list b/linux/advanced/nextcloud/pure/26/sources.list index 508f1b71c..615338867 100644 --- a/linux/advanced/nextcloud/pure/26/sources.list +++ b/linux/advanced/nextcloud/pure/26/sources.list @@ -1,28 +1,22 @@ #main -deb http://httpredir.debian.org/debian/ bullseye main contrib non-free -deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free +deb http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware -deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free -deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free +deb http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware -deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free -deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free +deb http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware -deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free -deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free +#deb http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware +#deb-src http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware -deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free -deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free +deb http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware #security -deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free -deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free +deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware +deb-src http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware -deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free -deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free - -##multimedia -#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free -#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free -#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main -#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main +deb http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware diff --git a/linux/advanced/nextcloud/pure/27/Dockerfile b/linux/advanced/nextcloud/pure/27/Dockerfile new file mode 100644 index 000000000..de47f9694 --- /dev/null +++ b/linux/advanced/nextcloud/pure/27/Dockerfile @@ -0,0 +1,82 @@ +FROM nextcloud:27 +ENV DEBIAN_FRONTEND noninteractive +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +LABEL org.opencontainers.image.vendor="EpicMorg DevTeam, developer@epicm.org" +LABEL org.opencontainers.image.authors="STAM, kasthack, Aleks-Z" +LABEL org.opencontainers.image.source="https://github.com/EpicMorg/docker" +LABEL org.opencontainers.image.url="https://github.com/EpicMorg/docker" +LABEL donate.crypto.TON="EQDvHXRK-K1ZieJhgTD9JZQk7xCnWzRbctYnUkWq1lZq1bUg" +LABEL donate.crypto.ETH="0x26a8443a694f08cdfec966aa6fd72c45068753ec" +LABEL donate.crypto.BTC="bc1querz8ug9asjmsuy6yn4a94a2athgprnu7e5zq2" +LABEL donate.crypto.LTC="ltc1qtwwacq8f0n76fer2y83wxu540hddnmf8cdrlvg" +LABEL donate.crypto.NVC="4SbMynYETyhmKdggu8f38ULU6yQKiJPuo6" +LABEL donate.crypto.DOGE="DHyfE1CZzWtyaQiaMmv6g4KvXVQRUgrYE6" +LABEL donate.crypto.PPC="pQWArPzYoLppNe7ew3QPfto1k1eq66BYUB" +LABEL donate.crypto.RVN="R9t2LKeLhDSZBKNgUzSDZAossA3UqNvbV3" +LABEL donate.crypto.ZEC="t1KRMMmwMSZth8vJcd2ZHtPEFKTQ74yVixE" +LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4wQxoVfEJoW7LBhdQMP9cFhZQpJr6xvg7esHLdCbb1" +################################################################## +# adding normal sources list +################################################################## +RUN rm -rfv /etc/apt/sources.list +COPY sources.list /etc/apt/sources.list + +################################################################## +# adding some utils +################################################################## +RUN apt update -y && \ + apt dist-upgrade -y && \ + apt install -y --allow-unauthenticated \ + apt-transport-https \ + curl \ + ca-certificates \ + ghostscript \ + nload \ + htop \ + mc \ + nano \ + sudo \ + imagemagick \ + imagemagick-common \ + sqlite3 \ + smbclient \ + libsmbclient \ + wget \ + net-tools \ + iputils-ping + + +################################################################## +# installing php repo + smbclient +################################################################## +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list' +RUN apt update -y && \ + apt install -y --allow-unauthenticated \ + libsmbclient-dev \ + libmagickwand-dev \ + libmagickcore-dev \ + libc-client-dev \ + libkrb5-dev \ + libsqlite3-dev \ + libssl-dev + +RUN pecl install inotify && \ + docker-php-ext-enable inotify + +RUN pecl install smbclient && \ + docker-php-ext-enable smbclient + +RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \ + docker-php-ext-install imap && \ + docker-php-ext-enable imap + +RUN docker-php-ext-install fileinfo bz2 intl ftp pdo_sqlite && \ + docker-php-ext-enable fileinfo bz2 intl ftp pdo_sqlite + +################################################################## +# smb fix +################################################################## +RUN rm -frv /etc/samba/smb.conf /usr/share/samba/smb.conf +ADD smb.conf /etc/samba/ +ADD smb.conf /usr/share/samba/ diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Makefile b/linux/advanced/nextcloud/pure/27/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Makefile rename to linux/advanced/nextcloud/pure/27/Makefile diff --git a/linux/advanced/nextcloud/pure/27/README.md b/linux/advanced/nextcloud/pure/27/README.md new file mode 100644 index 000000000..b6df71808 --- /dev/null +++ b/linux/advanced/nextcloud/pure/27/README.md @@ -0,0 +1,527 @@ +# What is Nextcloud? + +[![GitHub CI build status badge](https://github.com/nextcloud/docker/workflows/Images/badge.svg)](https://github.com/nextcloud/docker/actions?query=workflow%3AImages) +[![update.sh build status badge](https://github.com/nextcloud/docker/workflows/update.sh/badge.svg)](https://github.com/nextcloud/docker/actions?query=workflow%3Aupdate.sh) +[![amd64 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/amd64/job/nextcloud.svg?label=amd64)](https://doi-janky.infosiftr.net/job/multiarch/job/amd64/job/nextcloud) +[![arm32v5 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v5/job/nextcloud.svg?label=arm32v5)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v5/job/nextcloud) +[![arm32v6 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v6/job/nextcloud.svg?label=arm32v6)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v6/job/nextcloud) +[![arm32v7 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v7/job/nextcloud.svg?label=arm32v7)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v7/job/nextcloud) +[![arm64v8 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm64v8/job/nextcloud.svg?label=arm64v8)](https://doi-janky.infosiftr.net/job/multiarch/job/arm64v8/job/nextcloud) +[![i386 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/i386/job/nextcloud.svg?label=i386)](https://doi-janky.infosiftr.net/job/multiarch/job/i386/job/nextcloud) +[![mips64le build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/mips64le/job/nextcloud.svg?label=mips64le)](https://doi-janky.infosiftr.net/job/multiarch/job/mips64le/job/nextcloud) +[![ppc64le build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/ppc64le/job/nextcloud.svg?label=ppc64le)](https://doi-janky.infosiftr.net/job/multiarch/job/ppc64le/job/nextcloud) +[![s390x build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/s390x/job/nextcloud.svg?label=s390x)](https://doi-janky.infosiftr.net/job/multiarch/job/s390x/job/nextcloud) + +A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms. + +![logo](https://cdn.rawgit.com/nextcloud/docker/80dd587d847b184ba95d7187a2a7a56ae4cbbb7b/logo.svg) + +# How to use this image +This image is designed to be used in a micro-service environment. There are two versions of the image you can choose from. + +The `apache` tag contains a full Nextcloud installation including an apache web server. It is designed to be easy to use and gets you running pretty fast. This is also the default for the `latest` tag and version tags that are not further specified. + +The second option is a `fpm` container. It is based on the [php-fpm](https://hub.docker.com/_/php/) image and runs a fastCGI-Process that serves your Nextcloud page. To use this image it must be combined with any webserver that can proxy the http requests to the FastCGI-port of the container. + +[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/nextcloud/docker/8db861d67f257a3e9ac1790ea06d4e2a7a193a6c/stack.yml) + +## Using the apache image +The apache image contains a webserver and exposes port 80. To start the container type: + +```console +$ docker run -d -p 8080:80 nextcloud +``` + +Now you can access Nextcloud at http://localhost:8080/ from your host system. + + +## Using the fpm image +To use the fpm image, you need an additional web server that can proxy http-request to the fpm-port of the container. For fpm connection this container exposes port 9000. In most cases, you might want use another container or your host as proxy. +If you use your host you can address your Nextcloud container directly on port 9000. If you use another container, make sure that you add them to the same docker network (via `docker run --network ...` or a `docker-compose` file). +In both cases you don't want to map the fpm port to your host. + +```console +$ docker run -d nextcloud:fpm +``` + +As the fastCGI-Process is not capable of serving static files (style sheets, images, ...), the webserver needs access to these files. This can be achieved with the `volumes-from` option. You can find more information in the [docker-compose section](#running-this-image-with-docker-compose). + +## Using an external database +By default, this container uses SQLite for data storage but the Nextcloud setup wizard (appears on first run) allows connecting to an existing MySQL/MariaDB or PostgreSQL database. You can also link a database container, e. g. `--link my-mysql:mysql`, and then use `mysql` as the database host on setup. More info is in the docker-compose section. + +## Persistent data +The Nextcloud installation and all data beyond what lives in the database (file uploads, etc) are stored in the [unnamed docker volume](https://docs.docker.com/engine/tutorials/dockervolumes/#adding-a-data-volume) volume `/var/www/html`. The docker daemon will store that data within the docker directory `/var/lib/docker/volumes/...`. That means your data is saved even if the container crashes, is stopped or deleted. + +A named Docker volume or a mounted host directory should be used for upgrades and backups. To achieve this, you need one volume for your database container and one for Nextcloud. + +Nextcloud: +- `/var/www/html/` folder where all nextcloud data lives +```console +$ docker run -d \ +-v nextcloud:/var/www/html \ +nextcloud +``` + +Database: +- `/var/lib/mysql` MySQL / MariaDB Data +- `/var/lib/postgresql/data` PostgreSQL Data +```console +$ docker run -d \ +-v db:/var/lib/mysql \ +mariadb +``` + +If you want to get fine grained access to your individual files, you can mount additional volumes for data, config, your theme and custom apps. +The `data`, `config` files are stored in respective subfolders inside `/var/www/html/`. The apps are split into core `apps` (which are shipped with Nextcloud and you don't need to take care of) and a `custom_apps` folder. If you use a custom theme it would go into the `themes` subfolder. + +Overview of the folders that can be mounted as volumes: + +- `/var/www/html` Main folder, needed for updating +- `/var/www/html/custom_apps` installed / modified apps +- `/var/www/html/config` local configuration +- `/var/www/html/data` the actual data of your Nextcloud +- `/var/www/html/themes/` theming/branding + +If you want to use named volumes for all of these, it would look like this: +```console +$ docker run -d \ +-v nextcloud:/var/www/html \ +-v apps:/var/www/html/custom_apps \ +-v config:/var/www/html/config \ +-v data:/var/www/html/data \ +-v theme:/var/www/html/themes/ \ +nextcloud +``` + +## Using the Nextcloud command-line interface +To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command): +```console +$ docker exec --user www-data CONTAINER_ID php occ +``` +or for docker-compose: +```console +$ docker-compose exec --user www-data app php occ +``` + +## Auto configuration via environment variables +The nextcloud image supports auto configuration via environment variables. You can preconfigure everything that is asked on the install page on first run. To enable auto configuration, set your database connection via the following environment variables. ONLY use one database type! + +__SQLite__: +- `SQLITE_DATABASE` Name of the database using sqlite + +__MYSQL/MariaDB__: +- `MYSQL_DATABASE` Name of the database using mysql / mariadb. +- `MYSQL_USER` Username for the database using mysql / mariadb. +- `MYSQL_PASSWORD` Password for the database user using mysql / mariadb. +- `MYSQL_HOST` Hostname of the database server using mysql / mariadb. + +__PostgreSQL__: +- `POSTGRES_DB` Name of the database using postgres. +- `POSTGRES_USER` Username for the database using postgres. +- `POSTGRES_PASSWORD` Password for the database user using postgres. +- `POSTGRES_HOST` Hostname of the database server using postgres. + +If you set any values, they will not be asked in the install page on first run. With a complete configuration by using all variables for your database type, you can additionally configure your Nextcloud instance by setting admin user and password (only works if you set both): + +- `NEXTCLOUD_ADMIN_USER` Name of the Nextcloud admin user. +- `NEXTCLOUD_ADMIN_PASSWORD` Password for the Nextcloud admin user. + +If you want, you can set the data directory, otherwise default value will be used. + +- `NEXTCLOUD_DATA_DIR` (default: _/var/www/html/data_) Configures the data directory where nextcloud stores all files from the users. + +One or more trusted domains can be set through environment variable, too. They will be added to the configuration after install. + +- `NEXTCLOUD_TRUSTED_DOMAINS` (not set by default) Optional space-separated list of domains + +The install and update script is only triggered when a default command is used (`apache-foreground` or `php-fpm`). If you use a custom command you have to enable the install / update with + +- `NEXTCLOUD_UPDATE` (default: _0_) + +If you want to use Redis you have to create a separate [Redis](https://hub.docker.com/_/redis/) container in your setup / in your docker-compose file. To inform Nextcloud about the Redis container, pass in the following parameters: + +- `REDIS_HOST` (not set by default) Name of Redis container +- `REDIS_HOST_PORT` (default: _6379_) Optional port for Redis, only use for external Redis servers that run on non-standard ports. +- `REDIS_HOST_PASSWORD` (not set by default) Redis password + +The use of Redis is recommended to prevent file locking problems. See the examples for further instructions. + +To use an external SMTP server, you have to provide the connection details. To configure Nextcloud to use SMTP add: + +- `SMTP_HOST` (not set by default): The hostname of the SMTP server. +- `SMTP_SECURE` (empty by default): Set to `ssl` to use SSL, or `tls` to use STARTTLS. +- `SMTP_PORT` (default: `465` for SSL and `25` for non-secure connections): Optional port for the SMTP connection. Use `587` for an alternative port for STARTTLS. +- `SMTP_AUTHTYPE` (default: `LOGIN`): The method used for authentication. Use `PLAIN` if no authentication is required. +- `SMTP_NAME` (empty by default): The username for the authentication. +- `SMTP_PASSWORD` (empty by default): The password for the authentication. +- `MAIL_FROM_ADDRESS` (not set by default): Use this address for the 'from' field in the emails sent by Nextcloud. +- `MAIL_DOMAIN` (not set by default): Set a different domain for the emails than the domain where Nextcloud is installed. + +Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/email_configuration.html) for other values to configure SMTP. + +To use an external S3 compatible object store as primary storage, set the following variables: +- `OBJECTSTORE_S3_HOST`: The hostname of the object storage server +- `OBJECTSTORE_S3_BUCKET`: The name of the bucket that Nextcloud should store the data in +- `OBJECTSTORE_S3_KEY`: AWS style access key +- `OBJECTSTORE_S3_SECRET`: AWS style secret access key +- `OBJECTSTORE_S3_PORT`: The port that the object storage server is being served over +- `OBJECTSTORE_S3_SSL` (default: `true`): Whether or not SSL/TLS should be used to communicate with object storage server +- `OBJECTSTORE_S3_REGION`: The region that the S3 bucket resides in. +- `OBJECTSTORE_S3_USEPATH_STYLE` (default: `false`): Not required for AWS S3 + +Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html#simple-storage-service-s3) for more information. + +To use an external OpenStack Swift object store as primary storage, set the following variables: +- `OBJECTSTORE_SWIFT_URL`: The Swift identity (Keystone) endpoint +- `OBJECTSTORE_SWIFT_AUTOCREATE` (default: `false`): Whether or not Nextcloud should automatically create the Swift container +- `OBJECTSTORE_SWIFT_USER_NAME`: Swift username +- `OBJECTSTORE_SWIFT_USER_PASSWORD`: Swift user password +- `OBJECTSTORE_SWIFT_USER_DOMAIN` (default: `Default`): Swift user domain +- `OBJECTSTORE_SWIFT_PROJECT_NAME`: OpenStack project name +- `OBJECTSTORE_SWIFT_PROJECT_DOMAIN` (default: `Default`): OpenStack project domain +- `OBJECTSTORE_SWIFT_SERVICE_NAME` (default: `swift`): Swift service name +- `OBJECTSTORE_SWIFT_SERVICE_REGION`: Swift endpoint region +- `OBJECTSTORE_SWIFT_CONTAINER_NAME`: Swift container (bucket) that Nextcloud should store the data in + +Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html#openstack-swift) for more information. + + +## Using the apache image behind a reverse proxy and auto configure server host and protocol + +The apache image will replace the remote addr (ip address visible to Nextcloud) with the ip address from `X-Real-IP` if the request is coming from a proxy in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16 by default. If you want Nextcloud to pick up the server host (`HTTP_X_FORWARDED_HOST`), protocol (`HTTP_X_FORWARDED_PROTO`) and client ip (`HTTP_X_FORWARDED_FOR`) from a trusted proxy disable rewrite ip and the reverse proxies ip address to `TRUSTED_PROXIES`. + +- `APACHE_DISABLE_REWRITE_IP` (not set by default): Set to 1 to disable rewrite ip. + +- `TRUSTED_PROXIES` (empty by default): A space-separated list of trusted proxies. CIDR notation is supported for IPv4. + +If the `TRUSTED_PROXIES` approach does not work for you, try using fixed values for overwrite parameters. + +- `OVERWRITEHOST` (empty by default): Set the hostname of the proxy. Can also specify a port. +- `OVERWRITEPROTOCOL` (empty by default): Set the protocol of the proxy, http or https. +- `OVERWRITEWEBROOT` (empty by default): Set the absolute path of the proxy. +- `OVERWRITECONDADDR` (empty by default): Regex to overwrite the values dependent on the remote address. + +Check the [Nexcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/reverse_proxy_configuration.html) for more details. + +Keep in mind that once set, removing these environment variables won't remove these values from the configuration file, due to how Nextcloud merges configuration files together. + +# Running this image with docker-compose +The easiest way to get a fully featured and functional setup is using a `docker-compose` file. There are too many different possibilities to setup your system, so here are only some examples of what you have to look for. + +At first, make sure you have chosen the right base image (fpm or apache) and added features you wanted (see below). In every case, you would want to add a database container and docker volumes to get easy access to your persistent data. When you want to have your server reachable from the internet, adding HTTPS-encryption is mandatory! See below for more information. + +## Base version - apache +This version will use the apache image and add a mariaDB container. The volumes are set to keep your data persistent. This setup provides **no ssl encryption** and is intended to run behind a proxy. + +Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. + +```yaml +version: '2' + +volumes: + nextcloud: + db: + +services: + db: + image: mariadb + command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW + restart: always + volumes: + - db:/var/lib/mysql + environment: + - MYSQL_ROOT_PASSWORD= + - MYSQL_PASSWORD= + - MYSQL_DATABASE=nextcloud + - MYSQL_USER=nextcloud + + app: + image: nextcloud + ports: + - 8080:80 + links: + - db + volumes: + - nextcloud:/var/www/html + restart: always + +``` + +Then run `docker-compose up -d`, now you can access Nextcloud at http://localhost:8080/ from your host system. + +## Base version - FPM +When using the FPM image, you need another container that acts as web server on port 80 and proxies the requests to the Nextcloud container. In this example a simple nginx container is combined with the Nextcloud-fpm image and a MariaDB database container. The data is stored in docker volumes. The nginx container also needs access to static files from your Nextcloud installation. It gets access to all the volumes mounted to Nextcloud via the `volumes_from` option.The configuration for nginx is stored in the configuration file `nginx.conf`, that is mounted into the container. An example can be found in the examples section [here](https://github.com/nextcloud/docker/tree/master/.examples). + +As this setup does **not include encryption**, it should be run behind a proxy. + +Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup. + +```yaml +version: '2' + +volumes: + nextcloud: + db: + +services: + db: + image: mariadb + command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW + restart: always + volumes: + - db:/var/lib/mysql + environment: + - MYSQL_ROOT_PASSWORD= + - MYSQL_PASSWORD= + - MYSQL_DATABASE=nextcloud + - MYSQL_USER=nextcloud + + app: + image: nextcloud:fpm + links: + - db + volumes: + - nextcloud:/var/www/html + restart: always + + web: + image: nginx + ports: + - 8080:80 + links: + - app + volumes: + - ./nginx.conf:/etc/nginx/nginx.conf:ro + volumes_from: + - app + restart: always +``` + +Then run `docker-compose up -d`, now you can access Nextcloud at http://localhost:8080/ from your host system. + +# Docker Secrets +As an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: +```yaml +version: '3.2' + +services: + db: + image: postgres + restart: always + volumes: + - db:/var/lib/postgresql/data + environment: + - POSTGRES_DB_FILE=/run/secrets/postgres_db + - POSTGRES_USER_FILE=/run/secrets/postgres_user + - POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password + secrets: + - postgres_db + - postgres_password + - postgres_user + + app: + image: nextcloud + restart: always + ports: + - 8080:80 + volumes: + - nextcloud:/var/www/html + environment: + - POSTGRES_HOST=db + - POSTGRES_DB_FILE=/run/secrets/postgres_db + - POSTGRES_USER_FILE=/run/secrets/postgres_user + - POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password + - NEXTCLOUD_ADMIN_PASSWORD_FILE=/run/secrets/nextcloud_admin_password + - NEXTCLOUD_ADMIN_USER_FILE=/run/secrets/nextcloud_admin_user + depends_on: + - db + secrets: + - nextcloud_admin_password + - nextcloud_admin_user + - postgres_db + - postgres_password + - postgres_user + +volumes: + db: + nextcloud: + +secrets: + nextcloud_admin_password: + file: ./nextcloud_admin_password.txt # put admin password to this file + nextcloud_admin_user: + file: ./nextcloud_admin_user.txt # put admin username to this file + postgres_db: + file: ./postgres_db.txt # put postgresql db name to this file + postgres_password: + file: ./postgres_password.txt # put postgresql password to this file + postgres_user: + file: ./postgres_user.txt # put postgresql username to this file +``` + +Currently, this is only supported for `NEXTCLOUD_ADMIN_PASSWORD`, `NEXTCLOUD_ADMIN_USER`, `MYSQL_DB`, `MYSQL_PASSWORD`, `MYSQL_USER`, `POSTGRES_DB`, `POSTGRES_PASSWORD`, `POSTGRES_USER`. + +# Make your Nextcloud available from the internet +Until here, your Nextcloud is just available from you docker host. If you want your Nextcloud available from the internet adding SSL encryption is mandatory. + +## HTTPS - SSL encryption +There are many different possibilities to introduce encryption depending on your setup. + +We recommend using a reverse proxy in front of our Nextcloud installation. Your Nextcloud will only be reachable through the proxy, which encrypts all traffic to the clients. You can mount your manually generated certificates to the proxy or use a fully automated solution which generates and renews the certificates for you. + +In our [examples](https://github.com/nextcloud/docker/tree/master/.examples) section we have an example for a fully automated setup using a reverse proxy, a container for [Let's Encrypt](https://letsencrypt.org/) certificate handling, database and Nextcloud. It uses the popular [nginx-proxy](https://github.com/jwilder/nginx-proxy) and [docker-letsencrypt-nginx-proxy-companion](https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion) containers. Please check the according documentations before using this setup. + +# First use +When you first access your Nextcloud, the setup wizard will appear and ask you to choose an administrator account username, password and the database connection. For the database use `db` as host and `nextcloud` as table and user name. Also enter the password you chose in your `docker-compose.yml` file. + +# Update to a newer version +Updating the Nextcloud container is done by pulling the new image, throwing away the old container and starting the new one. + +**It is only possible to upgrade one major version at a time. For example, if you want to upgrade from version 14 to 16, you will have to upgrade from version 14 to 15, then from 15 to 16.** + +Since all data is stored in volumes, nothing gets lost. The startup script will check for the version in your volume and the installed docker version. If it finds a mismatch, it automatically starts the upgrade process. Don't forget to add all the volumes to your new container, so it works as expected. + +```console +$ docker pull nextcloud +$ docker stop +$ docker rm +$ docker run -d nextcloud +``` +Beware that you have to run the same command with the options that you used to initially start your Nextcloud. That includes volumes, port mapping. + +When using docker-compose your compose file takes care of your configuration, so you just have to run: + +```console +$ docker-compose pull +$ docker-compose up -d +``` + + +# Adding Features +A lot of people want to use additional functionality inside their Nextcloud installation. If the image does not include the packages you need, you can easily build your own image on top of it. +Start your derived image with the `FROM` statement and add whatever you like. + +```yaml +FROM nextcloud:apache + +RUN ... + +``` +The [examples folder](https://github.com/nextcloud/docker/blob/master/.examples) gives a few examples on how to add certain functionalities, like including the cron job, smb-support or imap-authentication. + +If you use your own Dockerfile, you need to configure your docker-compose file accordingly. Switch out the `image` option with `build`. You have to specify the path to your Dockerfile. (in the example it's in the same directory next to the docker-compose file) + +```yaml + app: + build: . + links: + - db + volumes: + - data:/var/www/html/data + - config:/var/www/html/config + - apps:/var/www/html/apps + restart: always +``` + +If you intend to use another command to run the image, make sure that you set `NEXTCLOUD_UPDATE=1` in your Dockerfile. Otherwise the installation and update will not work. + +```yaml +FROM nextcloud:apache + +... + +ENV NEXTCLOUD_UPDATE=1 + +CMD ["/usr/bin/supervisord"] +``` + + +**Updating** your own derived image is also very simple. When a new version of the Nextcloud image is available run: + +```console +docker build -t your-name --pull . +docker run -d your-name +``` + +or for docker-compose: +```console +docker-compose build --pull +docker-compose up -d +``` + +The `--pull` option tells docker to look for new versions of the base image. Then the build instructions inside your `Dockerfile` are run on top of the new image. + +# Migrating an existing installation +You're already using Nextcloud and want to switch to docker? Great! Here are some things to look out for: + +1. Define your whole Nextcloud infrastructure in a `docker-compose` file and run it with `docker-compose up -d` to get the base installation, volumes and database. Work from there. +2. Restore your database from a mysqldump (nextcloud\_db\_1 is the name of your db container) + - To import from a MySQL dump use the following commands + ```console + docker cp ./database.dmp nextcloud_db_1:/dmp + docker-compose exec db sh -c "mysql -u USER -pPASSWORD nextcloud < /dmp" + docker-compose exec db rm /dmp + ``` + - To import from a PostgreSQL dump use to following commands + ```console + docker cp ./database.dmp nextcloud_db_1:/dmp + docker-compose exec db sh -c "psql -U USER --set ON_ERROR_STOP=on nextcloud < /dmp" + docker-compose exec db rm /dmp + ``` +3. Edit your config.php + 1. Set database connection + - In case of MySQL database + ```php + 'dbhost' => 'db:3306', + ``` + - In case of PostgreSQL database + ```php + 'dbhost' => 'db:5432', + ``` + 2. Make sure you have no configuration for the `apps_paths`. Delete lines like these + ```diff + - "apps_paths" => array ( + - 0 => array ( + - "path" => OC::$SERVERROOT."/apps", + - "url" => "/apps", + - "writable" => true, + - ), + ``` + 3. Make sure to have the `apps` directory non writable and the `custom_apps` directory writable + ```php + 'apps_paths' => array ( + 0 => array ( + 'path' => '/var/www/html/apps', + 'url' => '/apps', + 'writable' => false, + ), + 1 => array ( + 'path' => '/var/www/html/custom_apps', + 'url' => '/custom_apps', + 'writable' => true, + ), + ), + ``` + 4. Make sure your data directory is set to /var/www/html/data + ```php + 'datadirectory' => '/var/www/html/data', + ``` + + +4. Copy your data (nextcloud_app_1 is the name of your Nextcloud container): +```console +docker cp ./data/ nextcloud_app_1:/var/www/html/ +docker-compose exec app chown -R www-data:www-data /var/www/html/data +docker cp ./theming/ nextcloud_app_1:/var/www/html/ +docker-compose exec app chown -R www-data:www-data /var/www/html/theming +docker cp ./config/config.php nextcloud_app_1:/var/www/html/config +docker-compose exec app chown -R www-data:www-data /var/www/html/config +``` +5. Copy only the custom apps you use (or simply redownload them from the web interface): +```console +docker cp ./custom_apps/ nextcloud_data:/var/www/html/ +docker-compose exec app chown -R www-data:www-data /var/www/html/custom_apps +``` + +# Questions / Issues +If you got any questions or problems using the image, please visit our [Github Repository](https://github.com/nextcloud/docker) and write an issue. diff --git a/linux/advanced/nextcloud/pure/27/docker-compose.yml b/linux/advanced/nextcloud/pure/27/docker-compose.yml new file mode 100644 index 000000000..db2914016 --- /dev/null +++ b/linux/advanced/nextcloud/pure/27/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/nextcloud:27" + build: + context: . diff --git a/linux/advanced/nextcloud/pure/27/smb.conf b/linux/advanced/nextcloud/pure/27/smb.conf new file mode 100644 index 000000000..9346a22f4 --- /dev/null +++ b/linux/advanced/nextcloud/pure/27/smb.conf @@ -0,0 +1,239 @@ +# +# Sample configuration file for the Samba suite for Debian GNU/Linux. +# +# +# This is the main Samba configuration file. You should read the +# smb.conf(5) manual page in order to understand the options listed +# here. Samba has a huge number of configurable options most of which +# are not shown in this example +# +# Some options that are often worth tuning have been included as +# commented-out examples in this file. +# - When such options are commented with ";", the proposed setting +# differs from the default Samba behaviour +# - When commented with "#", the proposed setting is the default +# behaviour of Samba but the option is considered important +# enough to be mentioned here +# +# NOTE: Whenever you modify this file you should run the command +# "testparm" to check that you have not made any basic syntactic +# errors. + +#======================= Global Settings ======================= + +[global] +client min protocol = SMB2 +client max protocol = SMB3 + + +## Browsing/Identification ### + +# Change this to the workgroup/NT-domain name your Samba server will part of + workgroup = WORKGROUP + +#### Networking #### + +# The specific set of interfaces / networks to bind to +# This can be either the interface name or an IP address/netmask; +# interface names are normally preferred +; interfaces = 127.0.0.0/8 eth0 + +# Only bind to the named interfaces and/or networks; you must use the +# 'interfaces' option above to use this. +# It is recommended that you enable this feature if your Samba machine is +# not protected by a firewall or is a firewall itself. However, this +# option cannot handle dynamic or non-broadcast interfaces correctly. +; bind interfaces only = yes + + + +#### Debugging/Accounting #### + +# This tells Samba to use a separate log file for each machine +# that connects + log file = /var/log/samba/log.%m + +# Cap the size of the individual log files (in KiB). + max log size = 1000 + +# We want Samba to only log to /var/log/samba/log.{smbd,nmbd}. +# Append syslog@1 if you want important messages to be sent to syslog too. + logging = file + +# Do something sensible when Samba crashes: mail the admin a backtrace + panic action = /usr/share/samba/panic-action %d + + +####### Authentication ####### + +# Server role. Defines in which mode Samba will operate. Possible +# values are "standalone server", "member server", "classic primary +# domain controller", "classic backup domain controller", "active +# directory domain controller". +# +# Most people will want "standalone server" or "member server". +# Running as "active directory domain controller" will require first +# running "samba-tool domain provision" to wipe databases and create a +# new domain. + server role = standalone server + + obey pam restrictions = yes + +# This boolean parameter controls whether Samba attempts to sync the Unix +# password with the SMB password when the encrypted SMB password in the +# passdb is changed. + unix password sync = yes + +# For Unix password sync to work on a Debian GNU/Linux system, the following +# parameters must be set (thanks to Ian Kahan < for +# sending the correct chat script for the passwd program in Debian Sarge). + passwd program = /usr/bin/passwd %u + passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . + +# This boolean controls whether PAM will be used for password changes +# when requested by an SMB client instead of the program listed in +# 'passwd program'. The default is 'no'. + pam password change = yes + +# This option controls how unsuccessful authentication attempts are mapped +# to anonymous connections + map to guest = bad user + +########## Domains ########### + +# +# The following settings only takes effect if 'server role = primary +# classic domain controller', 'server role = backup domain controller' +# or 'domain logons' is set +# + +# It specifies the location of the user's +# profile directory from the client point of view) The following +# required a [profiles] share to be setup on the samba server (see +# below) +; logon path = \\%N\profiles\%U +# Another common choice is storing the profile in the user's home directory +# (this is Samba's default) +# logon path = \\%N\%U\profile + +# The following setting only takes effect if 'domain logons' is set +# It specifies the location of a user's home directory (from the client +# point of view) +; logon drive = H: +# logon home = \\%N\%U + +# The following setting only takes effect if 'domain logons' is set +# It specifies the script to run during logon. The script must be stored +# in the [netlogon] share +# NOTE: Must be store in 'DOS' file format convention +; logon script = logon.cmd + +# This allows Unix users to be created on the domain controller via the SAMR +# RPC pipe. The example command creates a user account with a disabled Unix +# password; please adapt to your needs +; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u + +# This allows machine accounts to be created on the domain controller via the +# SAMR RPC pipe. +# The following assumes a "machines" group exists on the system +; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u + +# This allows Unix groups to be created on the domain controller via the SAMR +# RPC pipe. +; add group script = /usr/sbin/addgroup --force-badname %g + +############ Misc ############ + +# Using the following line enables you to customise your configuration +# on a per machine basis. The %m gets replaced with the netbios name +# of the machine that is connecting +; include = /home/samba/etc/smb.conf.%m + +# Some defaults for winbind (make sure you're not using the ranges +# for something else.) +; idmap config * : backend = tdb +; idmap config * : range = 3000-7999 +; idmap config YOURDOMAINHERE : backend = tdb +; idmap config YOURDOMAINHERE : range = 100000-999999 +; template shell = /bin/bash + +# Setup usershare options to enable non-root users to share folders +# with the net usershare command. + +# Maximum number of usershare. 0 means that usershare is disabled. +# usershare max shares = 100 + +# Allow users who've been granted usershare privileges to create +# public shares, not just authenticated ones + usershare allow guests = yes + +#======================= Share Definitions ======================= + +[homes] + comment = Home Directories + browseable = no + +# By default, the home directories are exported read-only. Change the +# next parameter to 'no' if you want to be able to write to them. + read only = yes + +# File creation mask is set to 0700 for security reasons. If you want to +# create files with group=rw permissions, set next parameter to 0775. + create mask = 0700 + +# Directory creation mask is set to 0700 for security reasons. If you want to +# create dirs. with group=rw permissions, set next parameter to 0775. + directory mask = 0700 + +# By default, \\server\username shares can be connected to by anyone +# with access to the samba server. +# The following parameter makes sure that only "username" can connect +# to \\server\username +# This might need tweaking when using external authentication schemes + valid users = %S + +# Un-comment the following and create the netlogon directory for Domain Logons +# (you need to configure Samba to act as a domain controller too.) +;[netlogon] +; comment = Network Logon Service +; path = /home/samba/netlogon +; guest ok = yes +; read only = yes + +# Un-comment the following and create the profiles directory to store +# users profiles (see the "logon path" option above) +# (you need to configure Samba to act as a domain controller too.) +# The path below should be writable by all users so that their +# profile directory may be created the first time they log on +;[profiles] +; comment = Users profiles +; path = /home/samba/profiles +; guest ok = no +; browseable = no +; create mask = 0600 +; directory mask = 0700 + +[printers] + comment = All Printers + browseable = no + path = /var/spool/samba + printable = yes + guest ok = no + read only = yes + create mask = 0700 + +# Windows clients look for this share name as a source of downloadable +# printer drivers +[print$] + comment = Printer Drivers + path = /var/lib/samba/printers + browseable = yes + read only = yes + guest ok = no +# Uncomment to allow remote administration of Windows print drivers. +# You may need to replace 'lpadmin' with the name of the group your +# admin users are members of. +# Please note that you also need to set appropriate Unix permissions +# to the drivers directory for these users to have write rights in it +; write list = root, @lpadmin + diff --git a/linux/advanced/nextcloud/pure/27/sources.list b/linux/advanced/nextcloud/pure/27/sources.list new file mode 100644 index 000000000..615338867 --- /dev/null +++ b/linux/advanced/nextcloud/pure/27/sources.list @@ -0,0 +1,22 @@ +#main +deb http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware + +deb http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware + +deb http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware + +#deb http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware +#deb-src http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware + +deb http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware + +#security +deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware +deb-src http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware + +deb http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware diff --git a/linux/advanced/nextcloud/pure/latest/Dockerfile b/linux/advanced/nextcloud/pure/latest/Dockerfile index 2d2dc07e5..f3bc67abf 100644 --- a/linux/advanced/nextcloud/pure/latest/Dockerfile +++ b/linux/advanced/nextcloud/pure/latest/Dockerfile @@ -18,7 +18,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w ################################################################## # adding normal sources list ################################################################## -RUN rm /etc/apt/sources.list +RUN rm -rfv /etc/apt/sources.list COPY sources.list /etc/apt/sources.list ################################################################## diff --git a/linux/advanced/nextcloud/pure/latest/sources.list b/linux/advanced/nextcloud/pure/latest/sources.list index 508f1b71c..615338867 100644 --- a/linux/advanced/nextcloud/pure/latest/sources.list +++ b/linux/advanced/nextcloud/pure/latest/sources.list @@ -1,28 +1,22 @@ #main -deb http://httpredir.debian.org/debian/ bullseye main contrib non-free -deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free +deb http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian/ bookworm main contrib non-free non-free-firmware -deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free -deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free +deb http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware -deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free -deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free +deb http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware -deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free -deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free +#deb http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware +#deb-src http://httpredir.debian.org/debian/ bookworm-backports-sloppy main contrib non-free non-free-firmware -deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free -deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free +deb http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware #security -deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free -deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free +deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware +deb-src http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware -deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free -deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free - -##multimedia -#deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free -#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free -#deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main -#deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main +deb http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware +deb-src http://httpredir.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile index 2f969d7c0..f421ba986 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile @@ -30,10 +30,12 @@ RUN rm -rfv /etc/locale.gen COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated - +COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp +COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/locale.gen /etc/locale.gen +RUN mkdir -p /etc/apt/keyrings RUN apt-get update && \ apt-get upgrade -y && \ apt-get dist-upgrade -y diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/slim/etc/apt/apt.conf.d/96-apt-retries b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/etc/apt/apt.conf.d/96-apt-retries new file mode 100644 index 000000000..0334b79d8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/etc/apt/apt.conf.d/96-apt-retries @@ -0,0 +1 @@ +Acquire::Retries "9"; \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/slim/etc/apt/apt.conf.d/97-allow-cert-exp b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/etc/apt/apt.conf.d/97-allow-cert-exp new file mode 100644 index 000000000..feff33be1 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/etc/apt/apt.conf.d/97-allow-cert-exp @@ -0,0 +1,2 @@ +Acquire::https::Verify-Peer "false"; +Acquire::https::Verify-Host "false"; \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/slim/Dockerfile index 973cd84c7..5691d6bec 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/slim/Dockerfile @@ -30,10 +30,12 @@ RUN rm -rfv /etc/locale.gen COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated +COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp +COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/locale.gen /etc/locale.gen - +RUN mkdir -p /etc/apt/keyrings RUN apt-get update && \ apt-get upgrade -y && \ apt-get dist-upgrade -y diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/slim/etc/apt/apt.conf.d/96-apt-retries b/linux/ecosystem/epicmorg/debian/07-wheezy/slim/etc/apt/apt.conf.d/96-apt-retries new file mode 100644 index 000000000..0334b79d8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/slim/etc/apt/apt.conf.d/96-apt-retries @@ -0,0 +1 @@ +Acquire::Retries "9"; \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/slim/etc/apt/apt.conf.d/97-allow-cert-exp b/linux/ecosystem/epicmorg/debian/07-wheezy/slim/etc/apt/apt.conf.d/97-allow-cert-exp new file mode 100644 index 000000000..feff33be1 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/slim/etc/apt/apt.conf.d/97-allow-cert-exp @@ -0,0 +1,2 @@ +Acquire::https::Verify-Peer "false"; +Acquire::https::Verify-Host "false"; \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile index fb34e891e..3c776d1fa 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile @@ -5,16 +5,72 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java11 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-11-hotspot adoptopenjdk-11-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/lib && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-11-jdk temurin-11-jre && \ + mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop index 06cc6ccac..882ce03e9 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile.develop @@ -5,16 +5,72 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java11 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-11-hotspot adoptopenjdk-11-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/lib && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-11-jdk temurin-11-jre && \ + mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Dockerfile deleted file mode 100644 index 51ca618c0..000000000 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:jessie -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java12 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-12-hotspot adoptopenjdk-12-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Dockerfile.develop deleted file mode 100644 index df5fc4752..000000000 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:jessie-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java12 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-12-hotspot adoptopenjdk-12-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk13/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Dockerfile deleted file mode 100644 index 9044f71fb..000000000 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:jessie -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java13 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-13-hotspot adoptopenjdk-13-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Dockerfile.develop deleted file mode 100644 index 24c4b8a67..000000000 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:jessie-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java13 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-13-hotspot adoptopenjdk-13-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk14/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Dockerfile deleted file mode 100644 index e14130ad5..000000000 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:jessie -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java14 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-14-hotspot adoptopenjdk-14-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Dockerfile.develop deleted file mode 100644 index 110807296..000000000 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:jessie-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java14 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-14-hotspot adoptopenjdk-14-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk15/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Dockerfile deleted file mode 100644 index f4fa837d9..000000000 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:jessie -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java15 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-15-hotspot adoptopenjdk-15-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Dockerfile.develop deleted file mode 100644 index f374e0977..000000000 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:jessie-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java15 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-15-hotspot adoptopenjdk-15-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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 b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile deleted file mode 100644 index 76fb5fe36..000000000 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:jessie -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java16 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot adoptopenjdk-16-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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 deleted file mode 100644 index 963b15a95..000000000 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:jessie-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java16 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot adoptopenjdk-16-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/docker-compose.yml deleted file mode 100644 index 01d2e7c36..000000000 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -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 cf921f164..dd34ec8d3 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile @@ -5,16 +5,72 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java17 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated temurin-17-jdk && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-17-jdk temurin-17-jre && \ mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop index da0a07f65..ba7de31fa 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk17/Dockerfile.develop @@ -5,16 +5,72 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java17 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated temurin-17-jdk && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-17-jdk temurin-17-jre && \ mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile index 483affb3e..56b132537 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile @@ -5,16 +5,72 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java18 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated temurin-18-jdk && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-18-jdk && \ mkdir /usr/lib/jvm/temurin-18-jdk-amd64/jre && \ ln -s /usr/lib/jvm/temurin-18-jdk-amd64/bin/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/bin && \ ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop index b438322ca..f0c8af014 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk18/Dockerfile.develop @@ -5,16 +5,72 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java18 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated temurin-18-jdk && \ + apt-get install -y --allow-unauthenticated -t bulleye temurin-18-jdk && \ mkdir /usr/lib/jvm/temurin-18-jdk-amd64/jre && \ ln -s /usr/lib/jvm/temurin-18-jdk-amd64/bin/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/bin && \ ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + ################################################################## # cleanup ################################################################## 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..09e6d7626 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile @@ -0,0 +1,82 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java19 +################################################################## +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ + apt-get update && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-19-jdk temurin-19-jre && \ + mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN apt-get purge policykit-1 -y && \ + 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..546395203 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Dockerfile.develop @@ -0,0 +1,82 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java19 +################################################################## +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ + apt-get update && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-19-jdk temurin-19-jre && \ + mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN apt-get purge policykit-1 -y && \ + 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/jdk13/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Makefile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk19/Makefile diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/docker-compose.yml similarity index 60% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk13/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk19/docker-compose.yml index ca632de70..a97f43078 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk19/docker-compose.yml @@ -1,11 +1,11 @@ version: '3.9' services: app: - image: "epicmorg/debian:jessie-jdk13" + image: "epicmorg/debian:jessie-jdk19" build: context: . app-develop: - image: "epicmorg/debian:jessie-develop-jdk13" + 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 new file mode 100644 index 000000000..7f0b51469 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile @@ -0,0 +1,82 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java20 +################################################################## +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ + apt-get update && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-20-jdk temurin-20-jre && \ + mkdir /usr/lib/jvm/temurin-20-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-20-jdk-amd64/bin/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-20-jdk-amd64/lib/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/lib && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN apt-get purge policykit-1 -y && \ + 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/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile.develop new file mode 100644 index 000000000..84d1db13b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Dockerfile.develop @@ -0,0 +1,82 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java20 +################################################################## +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ + apt-get update && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-20-jdk temurin-20-jre && \ + mkdir /usr/lib/jvm/temurin-20-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-20-jdk-amd64/bin/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-20-jdk-amd64/lib/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/lib && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN apt-get purge policykit-1 -y && \ + 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/jdk14/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Makefile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk20/Makefile diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/docker-compose.yml similarity index 60% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk14/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk20/docker-compose.yml index e9b447291..5dbf50eb4 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk20/docker-compose.yml @@ -1,11 +1,11 @@ version: '3.9' services: app: - image: "epicmorg/debian:jessie-jdk14" + image: "epicmorg/debian:jessie-jdk20" build: context: . app-develop: - image: "epicmorg/debian:jessie-develop-jdk14" + image: "epicmorg/debian:jessie-develop-jdk20" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile new file mode 100644 index 000000000..71d7c94e9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile @@ -0,0 +1,82 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java21 +################################################################## +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ + apt-get update && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-21-jdk temurin-21-jre && \ + mkdir /usr/lib/jvm/temurin-21-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-21-jdk-amd64/bin/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-21-jdk-amd64/lib/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/lib && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN apt-get purge policykit-1 -y && \ + 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/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile.develop new file mode 100644 index 000000000..42053215e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Dockerfile.develop @@ -0,0 +1,82 @@ +FROM epicmorg/debian:jessie-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java21 +################################################################## +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ + apt-get update && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-21-jdk temurin-21-jre && \ + mkdir /usr/lib/jvm/temurin-21-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-21-jdk-amd64/bin/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-21-jdk-amd64/lib/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/lib && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN apt-get purge policykit-1 -y && \ + 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/jdk15/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Makefile rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk21/Makefile diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/docker-compose.yml similarity index 60% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk12/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/08-jessie/jdk21/docker-compose.yml index 43195432d..1edd051dd 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk21/docker-compose.yml @@ -1,11 +1,11 @@ version: '3.9' services: app: - image: "epicmorg/debian:jessie-jdk12" + image: "epicmorg/debian:jessie-jdk21" build: context: . app-develop: - image: "epicmorg/debian:jessie-develop-jdk12" + image: "epicmorg/debian:jessie-develop-jdk21" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile index c46e29bdb..b962cb23e 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile @@ -11,6 +11,59 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-6 && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile.develop index 1ad66ca4a..d07405a71 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile.develop @@ -11,6 +11,59 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-6 && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile index 7608cc5be..ec692ef63 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile @@ -11,6 +11,58 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-7 && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile.develop index 2afd71277..974d87b95 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile.develop @@ -11,6 +11,59 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-7 && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile index 68f2c1951..e3cd05362 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile @@ -5,13 +5,69 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java8 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-8-hotspot adoptopenjdk-8-hotspot-jre && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-8-jdk temurin-8-jre && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop index 73af16df5..de5f89007 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile.develop @@ -5,13 +5,69 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java8 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ + echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +# wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ +# echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-8-hotspot adoptopenjdk-8-hotspot-jre && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-8-jdk temurin-8-jre && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile index 2bbb92a13..df40f090a 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile @@ -5,8 +5,14 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # perforce client binary ################################################################## -ENV P4_VERSION=r22.1 -ENV P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4 +ARG P4_VERSION=r22.1 +ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4 + +################################################################## +# 7z official binary +################################################################## +ARG SZ_VERSION=7z2301 +ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz ################################################################## # update lists @@ -126,8 +132,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio ################################################################## # git-lfs official binary ################################################################## -#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \ -RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \ +#RUN wget --no-check-certificate -O - https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \ && \ +RUN wget --no-check-certificate -O - https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/trusted.gpg.d/github_git-lfs-archive-keyring.gpg && \ + chmod go+r /etc/apt/trusted.gpg.d/github_git-lfs-archive-keyring.gpg && \ rm -rfv /etc/apt/sources.list.d/github_git-lfs.list COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list RUN apt-get update && \ @@ -141,7 +148,7 @@ RUN apt-get update && \ ################################################################## # gh official binary ################################################################## -RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \ +RUN wget --no-check-certificate -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \ chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list && \ apt-get update && \ diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/main/etc/apt/sources.list.d/github_git-lfs.list b/linux/ecosystem/epicmorg/debian/08-jessie/main/etc/apt/sources.list.d/github_git-lfs.list index 1d123ec51..0e08fa7e3 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/main/etc/apt/sources.list.d/github_git-lfs.list +++ b/linux/ecosystem/epicmorg/debian/08-jessie/main/etc/apt/sources.list.d/github_git-lfs.list @@ -1,2 +1,5 @@ +#deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ jessie main +#deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ jessie main + deb https://packagecloud.io/github/git-lfs/debian/ jessie main deb-src https://packagecloud.io/github/git-lfs/debian/ jessie main diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile index d6ec01f6c..ee1330f4e 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile @@ -29,10 +29,13 @@ RUN rm -rfv /etc/locale.gen COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until +COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated +COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp +COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/locale.gen /etc/locale.gen - +RUN mkdir -p /etc/apt/keyrings RUN apt-get update && \ apt-get upgrade -y && \ apt-get dist-upgrade -y diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/apt.conf.d/96-apt-retries b/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/apt.conf.d/96-apt-retries new file mode 100644 index 000000000..666e4e213 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/apt.conf.d/96-apt-retries @@ -0,0 +1 @@ +Acquire::Retries "9"; diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/apt.conf.d/97-allow-cert-exp b/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/apt.conf.d/97-allow-cert-exp new file mode 100644 index 000000000..9c02e2ac9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/apt.conf.d/97-allow-cert-exp @@ -0,0 +1,2 @@ +Acquire::https::Verify-Peer "false"; +Acquire::https::Verify-Host "false"; diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/apt.conf.d/98-allow-unauthenticated b/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/apt.conf.d/98-allow-unauthenticated new file mode 100644 index 000000000..b36cd01c8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/apt.conf.d/98-allow-unauthenticated @@ -0,0 +1 @@ +APT::Get::AllowUnauthenticated "true"; diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile index c3afdd187..e91d6838c 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile @@ -15,6 +15,58 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.adopted b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.adopted deleted file mode 100644 index 12c500212..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.adopted +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:stretch -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java11 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-11-hotspot adoptopenjdk-11-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk11/Dockerfile.adopted.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.adopted.develop deleted file mode 100644 index da53c3e58..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.adopted.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:stretch-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java11 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-11-hotspot adoptopenjdk-11-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop index f715dcc6a..4e4424d18 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile.develop @@ -15,6 +15,58 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/docker-compose.yml index 779fb62a1..4bd279aa1 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/docker-compose.yml @@ -4,19 +4,9 @@ services: image: "epicmorg/debian:stretch-jdk11" build: context: . - dockerfile: ./Dockerfile.adopted + dockerfile: ./Dockerfile app-develop: image: "epicmorg/debian:stretch-develop-jdk11" build: context: . - dockerfile: ./Dockerfile.adopted.develop - app-adopted: - image: "epicmorg/debian:stretch-jdk11-adopted" - build: - context: . - dockerfile: ./Dockerfile.adopted - app-adopted-develop: - image: "epicmorg/debian:stretch-jdk11-adopted-develop" - build: - context: . - dockerfile: ./Dockerfile.adopted.develop + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/Dockerfile deleted file mode 100644 index 6951c2493..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:stretch -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java12 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-12-hotspot adoptopenjdk-12-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/Dockerfile.develop deleted file mode 100644 index 5dec493ac..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:stretch-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java12 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-12-hotspot adoptopenjdk-12-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/docker-compose.yml deleted file mode 100644 index 558c240cd..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:stretch-jdk12" - build: - context: . - app-develop: - image: "epicmorg/debian:stretch-develop-jdk12" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/Dockerfile deleted file mode 100644 index eadc382d5..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:stretch -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java13 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-13-hotspot adoptopenjdk-13-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/Dockerfile.develop deleted file mode 100644 index 6784c8c0a..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:stretch-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java13 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-13-hotspot adoptopenjdk-13-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk13/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/docker-compose.yml deleted file mode 100644 index 2922b0172..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:stretch-jdk13" - build: - context: . - app-develop: - image: "epicmorg/debian:stretch-develop-jdk13" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/Dockerfile deleted file mode 100644 index d97f2b99e..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:stretch -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java14 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-14-hotspot adoptopenjdk-14-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/Dockerfile.develop deleted file mode 100644 index 02faf4842..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:stretch-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java14 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-14-hotspot adoptopenjdk-14-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk14/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/docker-compose.yml deleted file mode 100644 index 6d24fb97b..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:stretch-jdk14" - build: - context: . - app-develop: - image: "epicmorg/debian:stretch-develop-jdk14" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/Dockerfile deleted file mode 100644 index a619f9d39..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:stretch -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java15 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-15-hotspot adoptopenjdk-15-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/Dockerfile.develop deleted file mode 100644 index a16b01ba0..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:stretch-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java15 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-15-hotspot adoptopenjdk-15-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk15/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/docker-compose.yml deleted file mode 100644 index 486600ff8..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:stretch-jdk15" - build: - context: . - app-develop: - image: "epicmorg/debian:stretch-develop-jdk15" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile deleted file mode 100644 index 01cc09d2e..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:stretch -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java16 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot adoptopenjdk-16-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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 deleted file mode 100644 index c859d8511..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:stretch-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java16 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot adoptopenjdk-16-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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 deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index 232c23f58..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -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 e0cdafb74..b6299c90a 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile @@ -16,6 +16,58 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop index ff5cb1919..6e978211a 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile.develop @@ -15,6 +15,58 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile index dcb527ab6..6e61a30e8 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile @@ -5,16 +5,72 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java18 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \ +#wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ +# echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated -o 'Acquire::Retries=3' temurin-18-jdk && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-18-jdk && \ mkdir /usr/lib/jvm/temurin-18-jdk-amd64/jre && \ ln -s /usr/lib/jvm/temurin-18-jdk-amd64/bin/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/bin && \ ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop index 325ac8a31..f3f40bd4a 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile.develop @@ -5,16 +5,72 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java18 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \ +#wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /etc/apt/trusted.gpg.d/adoptium.gpg && \ +# echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated -o 'Acquire::Retries=3' temurin-18-jdk && \ + apt-get install -y --allow-unauthenticated -t bookworm temurin-18-jdk && \ mkdir /usr/lib/jvm/temurin-18-jdk-amd64/jre && \ ln -s /usr/lib/jvm/temurin-18-jdk-amd64/bin/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/bin && \ ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7z x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +#RUN 7z x ${GRADLE_TEMP} -o${GRADLE_ROOT} +#RUN chmod +x -R ${GRADLE_BIN} +#RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +#RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +#RUN 7z x $KTC_TEMP -o${KTC_ROOT} +#RUN chmod +x -R ${KTC_BIN} +#RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile index c8826f7c9..b37cc9166 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile @@ -11,6 +11,58 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-6 && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile.develop index 10f37b224..1ed927a67 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile.develop @@ -11,6 +11,58 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-6 && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile index 253f6d815..ece9c58fa 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile @@ -11,6 +11,58 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-7 && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile.develop index b265fcc1e..414799126 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile.develop @@ -11,6 +11,58 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-7 && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile index f78f8cd93..6ff08978b 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile @@ -12,6 +12,58 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a apt-get install -y --allow-unauthenticated temurin-8-jdk && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.adopted b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.adopted deleted file mode 100644 index e53cafc1c..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.adopted +++ /dev/null @@ -1,23 +0,0 @@ -FROM epicmorg/debian:stretch -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java8 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-8-hotspot adoptopenjdk-8-hotspot-jre && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk8/Dockerfile.adopted.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.adopted.develop deleted file mode 100644 index 46d61ad0c..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.adopted.develop +++ /dev/null @@ -1,23 +0,0 @@ -FROM epicmorg/debian:stretch-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java8 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-8-hotspot adoptopenjdk-8-hotspot-jre && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop index 219c72a33..fd9e789bc 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile.develop @@ -12,6 +12,58 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a apt-get install -y --allow-unauthenticated temurin-8-jdk && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/docker-compose.yml index be1fe3327..6ce26659c 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/docker-compose.yml @@ -4,19 +4,9 @@ services: image: "epicmorg/debian:stretch-jdk8" build: context: . - dockerfile: ./Dockerfile.adopted + dockerfile: ./Dockerfile app-develop: image: "epicmorg/debian:stretch-develop-jdk8" build: context: . - dockerfile: ./Dockerfile.adopted.develop - app-adopted: - image: "epicmorg/debian:stretch-jdk8-adopted" - build: - context: . - dockerfile: ./Dockerfile.adopted - app-adopted-develop: - image: "epicmorg/debian:stretch-jdk8-adopted-develop" - build: - context: . - dockerfile: ./Dockerfile.adopted + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/main/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/main/Dockerfile index 8d584e5ee..6717d30fc 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/main/Dockerfile @@ -11,7 +11,7 @@ ENV P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.lin ################################################################## # 7z official binary ################################################################## -ENV SZ_VERSION=7z2200 +ENV SZ_VERSION=7z2301 ENV SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz ################################################################## @@ -141,8 +141,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio ################################################################## # git-lfs official binary ################################################################## -#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \ -RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \ +#RUN wget --no-check-certificate -O - https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \ && \ +RUN wget --no-check-certificate -O - https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/trusted.gpg.d/github_git-lfs-archive-keyring.gpg && \ + chmod go+r /etc/apt/trusted.gpg.d/github_git-lfs-archive-keyring.gpg && \ rm -rfv /etc/apt/sources.list.d/github_git-lfs.list COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list RUN apt-get update && \ diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/main/etc/apt/sources.list.d/github_git-lfs.list b/linux/ecosystem/epicmorg/debian/09-stretch/main/etc/apt/sources.list.d/github_git-lfs.list index 60811acd4..325dcc715 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/main/etc/apt/sources.list.d/github_git-lfs.list +++ b/linux/ecosystem/epicmorg/debian/09-stretch/main/etc/apt/sources.list.d/github_git-lfs.list @@ -1,2 +1,5 @@ +#deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ stretch main +#deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ stretch main + deb https://packagecloud.io/github/git-lfs/debian/ stretch main deb-src https://packagecloud.io/github/git-lfs/debian/ stretch main diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile index 88c1054f4..7ae893d6c 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile @@ -29,9 +29,13 @@ RUN rm -rfv /etc/locale.gen COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until +COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated +COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp +COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/locale.gen /etc/locale.gen +RUN mkdir -p /etc/apt/keyrings RUN apt-get update && \ apt-get upgrade -y && \ apt-get dist-upgrade -y diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/apt.conf.d/96-apt-retries b/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/apt.conf.d/96-apt-retries new file mode 100644 index 000000000..666e4e213 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/apt.conf.d/96-apt-retries @@ -0,0 +1 @@ +Acquire::Retries "9"; diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/apt.conf.d/97-allow-cert-exp b/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/apt.conf.d/97-allow-cert-exp new file mode 100644 index 000000000..9c02e2ac9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/apt.conf.d/97-allow-cert-exp @@ -0,0 +1,2 @@ +Acquire::https::Verify-Peer "false"; +Acquire::https::Verify-Host "false"; diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/apt.conf.d/98-allow-unauthenticated b/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/apt.conf.d/98-allow-unauthenticated new file mode 100644 index 000000000..b36cd01c8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/apt.conf.d/98-allow-unauthenticated @@ -0,0 +1 @@ +APT::Get::AllowUnauthenticated "true"; diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile index 67d08a000..e6e6a474e 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile @@ -10,11 +10,63 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-11-jdk temurin-11-jre && \ -# mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.adopted b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.adopted deleted file mode 100644 index bf95f719d..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.adopted +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:buster -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java11 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-11-hotspot adoptopenjdk-11-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk11/Dockerfile.adopted.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.adopted.develop deleted file mode 100644 index 1019eca21..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.adopted.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:buster-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java11 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-11-hotspot adoptopenjdk-11-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop index af253ddce..8be031c00 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/Dockerfile.develop @@ -10,11 +10,63 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-11-jdk temurin-11-jre && \ -# mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/docker-compose.yml index 295c7af4c..ef2a2f17f 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk11/docker-compose.yml @@ -4,18 +4,8 @@ services: image: "epicmorg/debian:buster-jdk11" build: context: . - app-old: - image: "epicmorg/debian:buster-jdk11-adopted" - build: - context: . - dockerfile: ./Dockerfile.adopted app-develop: image: "epicmorg/debian:buster-develop-jdk11" build: context: . dockerfile: ./Dockerfile.develop - app-old-develop: - image: "epicmorg/debian:buster-develop-jdk11-adopted" - build: - context: . - dockerfile: ./Dockerfile.adopted.develop \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk12/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk12/Dockerfile deleted file mode 100644 index 571dde92d..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk12/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:buster -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java12 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-12-hotspot adoptopenjdk-12-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk12/Dockerfile.develop deleted file mode 100644 index 81f5f1c5d..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk12/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:buster-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java12 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-12-hotspot adoptopenjdk-12-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk12/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk12/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk12/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk12/docker-compose.yml deleted file mode 100644 index edfc240a8..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk12/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:buster-jdk12" - build: - context: . - app-develop: - image: "epicmorg/debian:buster-develop-jdk12" - build: - context: . - dockerfile: ./Dockerfile.develop \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk13/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk13/Dockerfile deleted file mode 100644 index f24e8005d..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk13/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:buster -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java13 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-13-hotspot adoptopenjdk-13-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk13/Dockerfile.develop deleted file mode 100644 index b93d8c4ef..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk13/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:buster-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java13 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-13-hotspot adoptopenjdk-13-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk13/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk13/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk13/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk13/docker-compose.yml deleted file mode 100644 index 2682c22e2..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk13/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:buster-jdk13" - build: - context: . - app-develop: - image: "epicmorg/debian:buster-develop-jdk13" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk14/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk14/Dockerfile deleted file mode 100644 index d25dd5962..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk14/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:buster -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java14 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-14-hotspot adoptopenjdk-14-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk14/Dockerfile.develop deleted file mode 100644 index ab86d08fd..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk14/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:buster-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java14 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-14-hotspot adoptopenjdk-14-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk14/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk14/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk14/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk14/docker-compose.yml deleted file mode 100644 index 9b1416863..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk14/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:buster-jdk14" - build: - context: . - app-develop: - image: "epicmorg/debian:buster-develop-jdk14" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk15/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk15/Dockerfile deleted file mode 100644 index ed2c99078..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk15/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:buster -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java15 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-15-hotspot adoptopenjdk-15-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk15/Dockerfile.develop deleted file mode 100644 index 73773e6b3..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk15/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:buster-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java15 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-15-hotspot adoptopenjdk-15-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk15/Makefile b/linux/ecosystem/epicmorg/debian/10-buster/jdk15/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk15/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk15/docker-compose.yml deleted file mode 100644 index 9fde6ae08..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk15/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:buster-jdk15" - build: - context: . - app-develop: - image: "epicmorg/debian:buster-develop-jdk15" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile deleted file mode 100644 index 82827b18e..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:buster -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java16 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot adoptopenjdk-16-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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 deleted file mode 100644 index 4334d1c1a..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:buster-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java16 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot adoptopenjdk-16-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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 deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index bd84d543e..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk16/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -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 ed86fb612..7c050a52b 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile @@ -10,11 +10,63 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-17-jdk temurin-17-jre && \ -# mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop index 3deb3ef80..e273924c2 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk17/Dockerfile.develop @@ -10,11 +10,63 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-17-jdk temurin-17-jre && \ -# mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile index 46d44811e..f1416487d 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile @@ -15,6 +15,58 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop index 2c895eb73..89008a0c6 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk18/Dockerfile.develop @@ -15,6 +15,58 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile index 8177bb72a..4a6c1a3d3 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile @@ -10,11 +10,63 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-19-jdk temurin-19-jre && \ -# mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop index 5db9c2206..b928d9830 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk19/Dockerfile.develop @@ -10,11 +10,63 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-19-jdk temurin-19-jre && \ -# mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile index e3743e180..646b80eb5 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk20/Dockerfile @@ -10,11 +10,63 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-20-jdk temurin-20-jre && \ -# mkdir /usr/lib/jvm/temurin-20-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-20-jdk-amd64/bin/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-20-jdk-amd64/lib/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-20-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-20-jdk-amd64/bin/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-20-jdk-amd64/lib/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/lib && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile index 94dcde555..31b875a6b 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile @@ -11,6 +11,58 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-6 && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile.develop index d092f2c97..10507e4b0 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk6/Dockerfile.develop @@ -11,6 +11,58 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-6 && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile index d83706e92..a89393c6b 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile @@ -11,6 +11,58 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-7 && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile.develop index c08412481..0ea6c17e5 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk7/Dockerfile.develop @@ -11,6 +11,58 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-7 && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile index 93e7dee4b..87c69d1e7 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile @@ -12,6 +12,58 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a apt-get install -y --allow-unauthenticated temurin-8-jdk temurin-8-jre && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.adopted b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.adopted deleted file mode 100644 index e29963938..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.adopted +++ /dev/null @@ -1,23 +0,0 @@ -FROM epicmorg/debian:buster -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java8 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-8-hotspot adoptopenjdk-8-hotspot-jre && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk8/Dockerfile.adopted.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.adopted.develop deleted file mode 100644 index a75729c5f..000000000 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.adopted.develop +++ /dev/null @@ -1,23 +0,0 @@ -FROM epicmorg/debian:buster-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java8 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-8-hotspot adoptopenjdk-8-hotspot-jre && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop index a01618673..047297482 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/Dockerfile.develop @@ -12,6 +12,58 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a apt-get install -y --allow-unauthenticated temurin-8-jdk temurin-8-jre && \ java -version +################################################################## +# Maven +################################################################## +ENV MAVEN_VERSION=3.9.5 +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 MAVEN_HOME=${MAVEN_ROOT} +ENV M2_HOME=${MAVEN_ROOT} + +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x $MAVEN_TEMP -o$MAVEN_ROOT +RUN chmod +x -R $MAVEN_BIN +RUN mvn -version + +################################################################## +# GRADLE +################################################################## +ENV GRADLE_VERSION=8.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 + +RUN mkdir -p $GRADLE_PATH +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP +RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT +RUN chmod +x -R $GRADLE_BIN +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +ENV KTC_VERSION=1.9.20 +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 ${KTC_PATH} +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o$KTC_ROOT +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +ENV PATH=$PATH:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN} + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/docker-compose.yml index d3c67c736..a03cf3e0f 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/jdk8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/10-buster/jdk8/docker-compose.yml @@ -4,18 +4,8 @@ services: image: "epicmorg/debian:buster-jdk8" build: context: . - app-old: - image: "epicmorg/debian:buster-jdk8-adopted" - build: - context: . - dockerfile: ./Dockerfile.adopted app-develop: image: "epicmorg/debian:buster-develop-jdk8" build: context: . dockerfile: ./Dockerfile.develop - app-old-develop: - image: "epicmorg/debian:buster-develop-jdk8-adopted" - build: - context: . - dockerfile: ./Dockerfile.adopted.develop diff --git a/linux/ecosystem/epicmorg/debian/10-buster/main/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/main/Dockerfile index 04e9f04d1..ba46703b8 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/main/Dockerfile @@ -11,7 +11,7 @@ ENV P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.lin ################################################################## # 7z official binary ################################################################## -ENV SZ_VERSION=7z2200 +ENV SZ_VERSION=7z2301 ENV SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/10-buster/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/10-buster/slim/Dockerfile index 37849ea12..d2984712a 100644 --- a/linux/ecosystem/epicmorg/debian/10-buster/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/10-buster/slim/Dockerfile @@ -29,9 +29,13 @@ RUN rm -rfv /etc/locale.gen COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until +COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated +COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp +COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/locale.gen /etc/locale.gen +RUN mkdir -p /etc/apt/keyrings RUN apt-get update && \ apt-get upgrade -y && \ apt-get dist-upgrade -y diff --git a/linux/ecosystem/epicmorg/debian/10-buster/slim/etc/apt/apt.conf.d/96-apt-retries b/linux/ecosystem/epicmorg/debian/10-buster/slim/etc/apt/apt.conf.d/96-apt-retries new file mode 100644 index 000000000..666e4e213 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/slim/etc/apt/apt.conf.d/96-apt-retries @@ -0,0 +1 @@ +Acquire::Retries "9"; diff --git a/linux/ecosystem/epicmorg/debian/10-buster/slim/etc/apt/apt.conf.d/97-allow-cert-exp b/linux/ecosystem/epicmorg/debian/10-buster/slim/etc/apt/apt.conf.d/97-allow-cert-exp new file mode 100644 index 000000000..9c02e2ac9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/slim/etc/apt/apt.conf.d/97-allow-cert-exp @@ -0,0 +1,2 @@ +Acquire::https::Verify-Peer "false"; +Acquire::https::Verify-Host "false"; diff --git a/linux/ecosystem/epicmorg/debian/10-buster/slim/etc/apt/apt.conf.d/98-allow-unauthenticated b/linux/ecosystem/epicmorg/debian/10-buster/slim/etc/apt/apt.conf.d/98-allow-unauthenticated new file mode 100644 index 000000000..b36cd01c8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/10-buster/slim/etc/apt/apt.conf.d/98-allow-unauthenticated @@ -0,0 +1 @@ +APT::Get::AllowUnauthenticated "true"; diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile index 327ccf27f..e84bb7736 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java11 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-11-jdk temurin-11-jre && \ -# mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.adopted b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.adopted deleted file mode 100644 index a401dbe29..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.adopted +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bullseye -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java11 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ bullseye main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-11-hotspot adoptopenjdk-11-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk11/Dockerfile.adopted.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.adopted.develop deleted file mode 100644 index 14c14ec55..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.adopted.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bullseye-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java11 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ bullseye main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-11-hotspot adoptopenjdk-11-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.develop index a55015a30..e0b1d6432 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/Dockerfile.develop @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java11 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-11-jdk temurin-11-jre && \ -# mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/docker-compose.yml index ab7b88c2f..6d16629cd 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk11/docker-compose.yml @@ -4,19 +4,9 @@ services: image: "epicmorg/debian:bullseye-jdk11" build: context: . - dockerfile: ./Dockerfile.adopted - app-old: - image: "epicmorg/debian:bullseye-jdk11-adopted" - build: - context: . - dockerfile: ./Dockerfile.adopted + dockerfile: ./Dockerfile app-develop: image: "epicmorg/debian:bullseye-develop-jdk11" build: context: . dockerfile: ./Dockerfile.develop - app-old-develop: - image: "epicmorg/debian:buster-develop-jdk11-adopted" - build: - context: . - dockerfile: ./Dockerfile.adopted.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk12/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk12/Dockerfile deleted file mode 100644 index 9c8a19a54..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk12/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bullseye -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java12 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-12-hotspot adoptopenjdk-12-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk12/Dockerfile.develop deleted file mode 100644 index a8227a85e..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk12/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bullseye-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java12 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-12-hotspot adoptopenjdk-12-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk12/Makefile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk12/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk12/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk12/docker-compose.yml deleted file mode 100644 index 52edd4179..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk12/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:bullseye-jdk12" - build: - context: . - app-develop: - image: "epicmorg/debian:bullseye-develop-jdk12" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk13/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk13/Dockerfile deleted file mode 100644 index e9fa5b0c3..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk13/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bullseye -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java13 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-13-hotspot adoptopenjdk-13-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk13/Dockerfile.develop deleted file mode 100644 index 8aa94f0a3..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk13/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bullseye-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java13 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-13-hotspot adoptopenjdk-13-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk13/Makefile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk13/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk13/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk13/docker-compose.yml deleted file mode 100644 index cf2adfe4e..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk13/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:bullseye-jdk13" - build: - context: . - app-develop: - image: "epicmorg/debian:bullseye-develop-jdk13" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk14/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk14/Dockerfile deleted file mode 100644 index 2d0121816..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk14/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bullseye -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java14 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-14-hotspot adoptopenjdk-14-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk14/Dockerfile.develop deleted file mode 100644 index 4f3f2acba..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk14/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bullseye-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java14 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-14-hotspot adoptopenjdk-14-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk14/Makefile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk14/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk14/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk14/docker-compose.yml deleted file mode 100644 index 4cc11aab9..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk14/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:bullseye-jdk14" - build: - context: . - app-develop: - image: "epicmorg/debian:bullseye-develop-jdk14" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk15/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk15/Dockerfile deleted file mode 100644 index fbf4c7b78..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk15/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bullseye -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java15 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ bullseye main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-15-hotspot adoptopenjdk-15-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk15/Dockerfile.develop deleted file mode 100644 index d4a3fc06f..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk15/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bullseye-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java15 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ bullseye main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-15-hotspot adoptopenjdk-15-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk15/Makefile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk15/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk15/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk15/docker-compose.yml deleted file mode 100644 index d547993eb..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk15/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:bullseye-jdk15" - build: - context: . - app-develop: - image: "epicmorg/debian:bullseye-develop-jdk15" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile deleted file mode 100644 index 404e88c1b..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bullseye -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java16 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ bullseye main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot adoptopenjdk-16-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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 deleted file mode 100644 index 1cf7e400c..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bullseye-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java16 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ bullseye main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot adoptopenjdk-16-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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 deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index a9bc4d937..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk16/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -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 305d16857..166f5d0d9 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java17 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-17-jdk temurin-17-jre && \ -# mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile.develop index 6e9355b0a..b6bc3b9b3 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk17/Dockerfile.develop @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java17 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-17-jdk temurin-17-jre && \ -# mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile index 6c1050741..97a6ef1b6 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile @@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java18 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-18-jdk && \ @@ -15,6 +15,60 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile.develop index fd0a0a301..2c2c3ae7a 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk18/Dockerfile.develop @@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java18 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-18-jdk && \ @@ -15,6 +15,60 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile index c28527a94..6fb63ee71 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java19 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-19-jdk temurin-19-jre && \ -# mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile.develop index 31424f804..80b12a15d 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk19/Dockerfile.develop @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java18 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-19-jdk temurin-19-jre && \ -# mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile index b3e6523b3..6d57a33e0 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java20 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-20-jdk temurin-20-jre && \ -# mkdir /usr/lib/jvm/temurin-20-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-20-jdk-amd64/bin/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-20-jdk-amd64/lib/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-20-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-20-jdk-amd64/bin/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-20-jdk-amd64/lib/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile.develop index 2e85eb095..03bcb1693 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk20/Dockerfile.develop @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java20 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-20-jdk temurin-20-jre && \ -# mkdir /usr/lib/jvm/temurin-20-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-20-jdk-amd64/bin/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-20-jdk-amd64/lib/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-20-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-20-jdk-amd64/bin/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-20-jdk-amd64/lib/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile new file mode 100644 index 000000000..5d4366a88 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile @@ -0,0 +1,80 @@ +FROM epicmorg/debian:bullseye +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java20 +################################################################## +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ + apt-get update && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated temurin-21-jdk temurin-21-jre && \ + mkdir /usr/lib/jvm/temurin-21-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-21-jdk-amd64/bin/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-21-jdk-amd64/lib/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/lib && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN apt-get purge policykit-1 -y && \ + 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/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile.develop new file mode 100644 index 000000000..5114a450d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Dockerfile.develop @@ -0,0 +1,80 @@ +FROM epicmorg/debian:bullseye-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java20 +################################################################## +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ + apt-get update && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated temurin-21-jdk temurin-21-jre && \ + mkdir /usr/lib/jvm/temurin-21-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-21-jdk-amd64/bin/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-21-jdk-amd64/lib/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/lib && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN apt-get purge policykit-1 -y && \ + 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/11-bullseye/jdk21/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Makefile rename to linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/Makefile diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/docker-compose.yml similarity index 59% rename from linux/ecosystem/epicmorg/debian/08-jessie/jdk15/docker-compose.yml rename to linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/docker-compose.yml index 3148701b8..ee823c773 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk21/docker-compose.yml @@ -1,11 +1,11 @@ version: '3.9' services: app: - image: "epicmorg/debian:jessie-jdk15" + image: "epicmorg/debian:bullseye-jdk21" build: context: . app-develop: - image: "epicmorg/debian:jessie-develop-jdk15" + image: "epicmorg/debian:bullseye-develop-jdk21" build: context: . dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile index fd30e929b..18c190c59 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile @@ -11,6 +11,60 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-6 && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile.develop index 3f989718b..f41a5d4a3 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk6/Dockerfile.develop @@ -11,6 +11,60 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-6 && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile index 18769d102..deeafb503 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile @@ -11,6 +11,60 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-7 && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile.develop index e204843d2..fc3d2a9d7 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk7/Dockerfile.develop @@ -11,6 +11,60 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-7 && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile index 3c089c03c..036b0fd3e 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile @@ -5,13 +5,67 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java8 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-8-jdk temurin-8-jre && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.adopted b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.adopted deleted file mode 100644 index ded446690..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.adopted +++ /dev/null @@ -1,23 +0,0 @@ -FROM epicmorg/debian:bullseye -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java8 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ bullseye main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-8-hotspot adoptopenjdk-8-hotspot-jre && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk8/Dockerfile.adopted.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.adopted.develop deleted file mode 100644 index c9e4a180f..000000000 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.adopted.develop +++ /dev/null @@ -1,23 +0,0 @@ -FROM epicmorg/debian:bullseye-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java8 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ bullseye main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-8-hotspot adoptopenjdk-8-hotspot-jre && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.develop index 608973eef..06af14b4f 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/Dockerfile.develop @@ -5,13 +5,67 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java8 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-8-jdk temurin-8-jre && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/docker-compose.yml index 00e6349c1..484a46502 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/jdk8/docker-compose.yml @@ -4,18 +4,8 @@ services: image: "epicmorg/debian:bullseye-jdk8" build: context: . - app-old: - image: "epicmorg/debian:bullseye-jdk8-adopted" - build: - context: . - dockerfile: ./Dockerfile.adopted app-develop: image: "epicmorg/debian:bullseye-develop-jdk8" build: context: . dockerfile: ./Dockerfile.develop - app-old-develop: - image: "epicmorg/debian:buster-develop-jdk8-adopted" - build: - context: . - dockerfile: ./Dockerfile.adopted.develop diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/main/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/main/Dockerfile index 3d563effc..e7056a72b 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/main/Dockerfile @@ -11,7 +11,7 @@ ARG P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.lin ################################################################## # 7z official binary ################################################################## -ARG SZ_VERSION=7z2200 +ARG SZ_VERSION=7z2301 ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/11-bullseye/slim/Dockerfile index da4d590d7..c4c93e17c 100644 --- a/linux/ecosystem/epicmorg/debian/11-bullseye/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/slim/Dockerfile @@ -29,9 +29,13 @@ RUN rm -rfv /etc/locale.gen COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until +COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated +COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp +COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/locale.gen /etc/locale.gen +RUN mkdir -p /etc/apt/keyrings RUN apt-get update && \ apt-get upgrade -y && \ apt-get dist-upgrade -y diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/slim/etc/apt/apt.conf.d/96-apt-retries b/linux/ecosystem/epicmorg/debian/11-bullseye/slim/etc/apt/apt.conf.d/96-apt-retries new file mode 100644 index 000000000..666e4e213 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/slim/etc/apt/apt.conf.d/96-apt-retries @@ -0,0 +1 @@ +Acquire::Retries "9"; diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/slim/etc/apt/apt.conf.d/97-allow-cert-exp b/linux/ecosystem/epicmorg/debian/11-bullseye/slim/etc/apt/apt.conf.d/97-allow-cert-exp new file mode 100644 index 000000000..9c02e2ac9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/slim/etc/apt/apt.conf.d/97-allow-cert-exp @@ -0,0 +1,2 @@ +Acquire::https::Verify-Peer "false"; +Acquire::https::Verify-Host "false"; diff --git a/linux/ecosystem/epicmorg/debian/11-bullseye/slim/etc/apt/apt.conf.d/98-allow-unauthenticated b/linux/ecosystem/epicmorg/debian/11-bullseye/slim/etc/apt/apt.conf.d/98-allow-unauthenticated new file mode 100644 index 000000000..b36cd01c8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/11-bullseye/slim/etc/apt/apt.conf.d/98-allow-unauthenticated @@ -0,0 +1 @@ +APT::Get::AllowUnauthenticated "true"; diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile index a568bd6b7..8988e85c6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java11 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-11-jdk temurin-11-jre && \ -# mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile.develop index a7f26e522..987660f3e 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk11/Dockerfile.develop @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java11 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-11-jdk temurin-11-jre && \ -# mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-11-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/bin/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-11-jdk-amd64/lib/ /usr/lib/jvm/temurin-11-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk12/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk12/Dockerfile deleted file mode 100644 index e12b19a9f..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk12/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bookworm -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java12 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-12-hotspot adoptopenjdk-12-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk12/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk12/Dockerfile.develop deleted file mode 100644 index 327d1aabc..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk12/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bookworm-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java12 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-12-hotspot adoptopenjdk-12-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk12/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk12/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk12/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk12/docker-compose.yml deleted file mode 100644 index 2a6af4614..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk12/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:bookworm-jdk12" - build: - context: . - app-develop: - image: "epicmorg/debian:bookworm-develop-jdk12" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk13/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk13/Dockerfile deleted file mode 100644 index ef2bd3d32..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk13/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bookworm -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java13 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-13-hotspot adoptopenjdk-13-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk13/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk13/Dockerfile.develop deleted file mode 100644 index c0cd0c6ab..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk13/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bookworm-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java13 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-13-hotspot adoptopenjdk-13-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk13/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk13/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk13/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk13/docker-compose.yml deleted file mode 100644 index 57df280d2..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk13/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:bookworm-jdk13" - build: - context: . - app-develop: - image: "epicmorg/debian:bookworm-develop-jdk13" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk14/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk14/Dockerfile deleted file mode 100644 index 01065f057..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk14/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bookworm -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java14 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-14-hotspot adoptopenjdk-14-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk14/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk14/Dockerfile.develop deleted file mode 100644 index 5001350cd..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk14/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bookworm-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java14 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-14-hotspot adoptopenjdk-14-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk14/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk14/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk14/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk14/docker-compose.yml deleted file mode 100644 index 329a531a1..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk14/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:bookworm-jdk14" - build: - context: . - app-develop: - image: "epicmorg/debian:bookworm-develop-jdk14" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk15/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk15/Dockerfile deleted file mode 100644 index 51a61d73c..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk15/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bookworm -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java15 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ bullseye main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-15-hotspot adoptopenjdk-15-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk15/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk15/Dockerfile.develop deleted file mode 100644 index fb612a618..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk15/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bookworm-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java15 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ bullseye main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-15-hotspot adoptopenjdk-15-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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/jdk15/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk15/Makefile deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk15/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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/jdk15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk15/docker-compose.yml deleted file mode 100644 index fc598ba05..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk15/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -services: - app: - image: "epicmorg/debian:bookworm-jdk15" - build: - context: . - app-develop: - image: "epicmorg/debian:bookworm-develop-jdk15" - build: - context: . - dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile deleted file mode 100644 index 206d1c859..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bookworm -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java16 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ bullseye main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot adoptopenjdk-16-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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 deleted file mode 100644 index 3f66e0009..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Dockerfile.develop +++ /dev/null @@ -1,26 +0,0 @@ -FROM epicmorg/debian:bookworm-develop -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" -ARG DEBIAN_FRONTEND=noninteractive - -################################################################## -# installing java16 -################################################################## -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ bullseye main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \ - apt-get update && \ - apt-get autoremove -y && \ - apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot adoptopenjdk-16-hotspot-jre && \ -# mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib && \ - java -version - -################################################################## -# cleanup -################################################################## -RUN apt-get purge policykit-1 -y && \ - 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 deleted file mode 100644 index 9ef622aa9..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index 07a767b23..000000000 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk16/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3.9' -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 86d81a94a..88574c1c3 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java17 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-17-jdk temurin-17-jre && \ -# mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile.develop index 6d619ceb2..f56c3bcbc 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17/Dockerfile.develop @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java17 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-17-jdk temurin-17-jre && \ -# mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile index 78345f4b0..148d47868 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile @@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java18 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-18-jdk && \ @@ -15,6 +15,60 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile.develop index 27d44ae37..851d9b7e8 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18/Dockerfile.develop @@ -5,8 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java18 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-18-jdk && \ @@ -15,6 +15,60 @@ RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | a ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk19/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk19/Dockerfile index a5c20ad03..8cf325b6c 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk19/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk19/Dockerfile @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java19 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-19-jdk temurin-19-jre && \ -# mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk19/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk19/Dockerfile.develop index a183dcac2..4a822bb11 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk19/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk19/Dockerfile.develop @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java18 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-19-jdk temurin-19-jre && \ -# mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile index 50546979d..6abfea153 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java20 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-20-jdk temurin-20-jre && \ -# mkdir /usr/lib/jvm/temurin-20-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-20-jdk-amd64/bin/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-20-jdk-amd64/lib/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-20-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-20-jdk-amd64/bin/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-20-jdk-amd64/lib/ /usr/lib/jvm/temurin-20-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile.develop index 745ab49ca..3d1db34de 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk20/Dockerfile.develop @@ -5,16 +5,70 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java20 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-19-jdk temurin-20-jre && \ -# mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ -# ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ + mkdir /usr/lib/jvm/temurin-19-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/bin/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-19-jdk-amd64/lib/ /usr/lib/jvm/temurin-19-jdk-amd64/jre/lib && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile new file mode 100644 index 000000000..658102409 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile @@ -0,0 +1,80 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java20 +################################################################## +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ + apt-get update && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated temurin-21-jdk temurin-21-jre && \ + mkdir /usr/lib/jvm/temurin-21-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-21-jdk-amd64/bin/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-21-jdk-amd64/lib/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/lib && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN apt-get purge policykit-1 -y && \ + 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/jdk21/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile.develop new file mode 100644 index 000000000..9858c5413 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Dockerfile.develop @@ -0,0 +1,80 @@ +FROM epicmorg/debian:bookworm-develop +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java20 +################################################################## +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ + apt-get update && \ + apt-get autoremove -y && \ + apt-get install -y --allow-unauthenticated temurin-21-jdk temurin-20-jre && \ + mkdir /usr/lib/jvm/temurin-21-jdk-amd64/jre && \ + ln -s /usr/lib/jvm/temurin-21-jdk-amd64/bin/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/bin && \ + ln -s /usr/lib/jvm/temurin-21-jdk-amd64/lib/ /usr/lib/jvm/temurin-21-jdk-amd64/jre/lib && \ + java -version + +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + +################################################################## +# cleanup +################################################################## +RUN apt-get purge policykit-1 -y && \ + 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/jdk12/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Makefile similarity index 100% rename from linux/ecosystem/epicmorg/debian/09-stretch/jdk12/Makefile rename to linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/Makefile diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/docker-compose.yml new file mode 100644 index 000000000..dc706e701 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk21/docker-compose.yml @@ -0,0 +1,11 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:bookworm-jdk21" + build: + context: . + app-develop: + image: "epicmorg/debian:bookworm-develop-jdk21" + build: + context: . + dockerfile: ./Dockerfile.develop diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile index 25fdad24b..01aeba7e4 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile @@ -11,6 +11,60 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-6 && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile.develop index 9c77018a3..d76695f3e 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk6/Dockerfile.develop @@ -11,6 +11,60 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-6 && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile index b11cead8e..352d94dc6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile @@ -11,6 +11,60 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-7 && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile.develop index 43e172903..195cd8019 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk7/Dockerfile.develop @@ -11,6 +11,60 @@ RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key ad apt-get install -y --allow-unauthenticated zulu-7 && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile index 0355ac53e..49917aeca 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile @@ -5,13 +5,67 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java8 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-8-jdk temurin-8-jre && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile.develop index 467b60b4d..c116c136e 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/jdk8/Dockerfile.develop @@ -5,13 +5,67 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # installing java8 ################################################################## -RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \ - echo 'deb https://packages.adoptium.net/artifactory/deb bullseye main' > /etc/apt/sources.list.d/temurin-official.list && \ +RUN wget --no-check-certificate -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + echo 'deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb bookworm main' > /etc/apt/sources.list.d/temurin-official.list && \ apt-get update && \ apt-get autoremove -y && \ apt-get install -y --allow-unauthenticated temurin-8-jdk temurin-8-jre && \ java -version +################################################################## +# Additional settings +################################################################## +ENV MAVEN_VERSION=3.9.5 +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.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.20 +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 wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${MAVEN_LINK} -O ${MAVEN_TEMP} +RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT} +RUN chmod +x -R ${MAVEN_BIN} +RUN mvn -v + +################################################################## +# GRADLE +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${GRADLE_LINK} -O ${GRADLE_TEMP} +RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT} +RUN chmod +x -R ${GRADLE_BIN} +RUN gradle -v + +################################################################## +# KOTLIN +################################################################## +RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} +RUN 7zz x $KTC_TEMP -o${KTC_ROOT} +RUN chmod +x -R ${KTC_BIN} +RUN kotlin -version + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/main/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/main/Dockerfile index 071f709f6..f671f7b5f 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/main/Dockerfile @@ -11,7 +11,7 @@ ENV P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.lin ################################################################## # 7z official binary ################################################################## -ENV SZ_VERSION=7z2200 +ENV SZ_VERSION=7z2301 ENV SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/slim/Dockerfile index 2707ab88e..f83930bd6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/slim/Dockerfile @@ -29,9 +29,13 @@ RUN rm -rfv /etc/locale.gen COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until +COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated +COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp +COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/locale.gen /etc/locale.gen +RUN mkdir -p /etc/apt/keyrings RUN apt-get update && \ apt-get upgrade -y && \ apt-get dist-upgrade -y diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/slim/etc/apt/apt.conf.d/96-apt-retries b/linux/ecosystem/epicmorg/debian/12-bookworm/slim/etc/apt/apt.conf.d/96-apt-retries new file mode 100644 index 000000000..666e4e213 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/slim/etc/apt/apt.conf.d/96-apt-retries @@ -0,0 +1 @@ +Acquire::Retries "9"; diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/slim/etc/apt/apt.conf.d/97-allow-cert-exp b/linux/ecosystem/epicmorg/debian/12-bookworm/slim/etc/apt/apt.conf.d/97-allow-cert-exp new file mode 100644 index 000000000..9c02e2ac9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/slim/etc/apt/apt.conf.d/97-allow-cert-exp @@ -0,0 +1,2 @@ +Acquire::https::Verify-Peer "false"; +Acquire::https::Verify-Host "false"; diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/slim/etc/apt/apt.conf.d/98-allow-unauthenticated b/linux/ecosystem/epicmorg/debian/12-bookworm/slim/etc/apt/apt.conf.d/98-allow-unauthenticated new file mode 100644 index 000000000..b36cd01c8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/slim/etc/apt/apt.conf.d/98-allow-unauthenticated @@ -0,0 +1 @@ +APT::Get::AllowUnauthenticated "true"; diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk11/Dockerfile b/linux/ecosystem/gitlab/runner/android-sdk/jdk11/Dockerfile index 597bd1303..280fe6019 100644 --- a/linux/ecosystem/gitlab/runner/android-sdk/jdk11/Dockerfile +++ b/linux/ecosystem/gitlab/runner/android-sdk/jdk11/Dockerfile @@ -5,21 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive ENV ANDROID_HOME=/usr/lib/android-sdk ENV ANDROID_SDK_ROOT=/usr/lib/android-sdk -ENV GRADLE_VERSION=8.2 -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.0-RC -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 - -ENV PATH=$PATH:${GRADLE_BIN}:${KTC_BIN}:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin:${ANDROID_SDK_ROOT}/platform-tools:$ANDROID_SDK_ROOT/tools/bin +ENV PATH=$PATH:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin:${ANDROID_SDK_ROOT}/platform-tools:$ANDROID_SDK_ROOT/tools/bin ################################################################## # installing java11 @@ -571,24 +557,6 @@ RUN sdkmanager --install \ RUN yes | sdkmanager --licenses RUN ln -fs $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/screenshot2 $ANDROID_SDK_ROOT/tools/bin/screenshot2 -################################################################## -# GRADLE -################################################################## -RUN mkdir -p $GRADLE_PATH -RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP -RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT -RUN chmod +x -R $GRADLE_BIN -RUN gradle -v - -################################################################## -# KOTLIN -################################################################## -RUN mkdir -p ${KTC_PATH} -RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} -RUN 7zz x $KTC_TEMP -o$KTC_ROOT -RUN chmod +x -R ${KTC_BIN} -RUN kotlin -version - ################################################################## # cleaninig up ################################################################## diff --git a/linux/ecosystem/gitlab/runner/android-sdk/jdk17/Dockerfile b/linux/ecosystem/gitlab/runner/android-sdk/jdk17/Dockerfile index 7643fc97c..3a084c2da 100644 --- a/linux/ecosystem/gitlab/runner/android-sdk/jdk17/Dockerfile +++ b/linux/ecosystem/gitlab/runner/android-sdk/jdk17/Dockerfile @@ -5,21 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive ENV ANDROID_HOME=/usr/lib/android-sdk ENV ANDROID_SDK_ROOT=/usr/lib/android-sdk -ENV GRADLE_VERSION=8.2 -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.0-RC -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 - -ENV PATH=$PATH:${GRADLE_BIN}:${KTC_BIN}:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin:${ANDROID_SDK_ROOT}/platform-tools:$ANDROID_SDK_ROOT/tools/bin +ENV PATH=$PATH:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin:${ANDROID_SDK_ROOT}/platform-tools:$ANDROID_SDK_ROOT/tools/bin ################################################################## # installing java17 @@ -571,24 +557,6 @@ RUN sdkmanager --install \ RUN yes | sdkmanager --licenses RUN ln -fs $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/screenshot2 $ANDROID_SDK_ROOT/tools/bin/screenshot2 -################################################################## -# GRADLE -################################################################## -RUN mkdir -p $GRADLE_PATH -RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP -RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT -RUN chmod +x -R $GRADLE_BIN -RUN gradle -v - -################################################################## -# KOTLIN -################################################################## -RUN mkdir -p ${KTC_PATH} -RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} -RUN 7zz x $KTC_TEMP -o$KTC_ROOT -RUN chmod +x -R ${KTC_BIN} -RUN kotlin -version - ################################################################## # cleaninig up ################################################################## diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk11/Dockerfile b/linux/ecosystem/teamcity/agent/android-sdk/jdk11/Dockerfile index a3eacb98c..ce4125976 100644 --- a/linux/ecosystem/teamcity/agent/android-sdk/jdk11/Dockerfile +++ b/linux/ecosystem/teamcity/agent/android-sdk/jdk11/Dockerfile @@ -5,21 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive ENV ANDROID_HOME=/usr/lib/android-sdk ENV ANDROID_SDK_ROOT=/usr/lib/android-sdk -ENV GRADLE_VERSION=8.2 -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.0-RC -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 - -ENV PATH=$PATH:${GRADLE_BIN}:${KTC_BIN}:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin:${ANDROID_SDK_ROOT}/platform-tools:$ANDROID_SDK_ROOT/tools/bin +ENV PATH=$PATH:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin:${ANDROID_SDK_ROOT}/platform-tools:$ANDROID_SDK_ROOT/tools/bin ################################################################## # Android SDK @@ -558,24 +544,6 @@ RUN sdkmanager --install \ RUN yes | sdkmanager --licenses RUN ln -fs $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/screenshot2 $ANDROID_SDK_ROOT/tools/bin/screenshot2 -################################################################## -# GRADLE -################################################################## -RUN mkdir -p $GRADLE_PATH -RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP -RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT -RUN chmod +x -R $GRADLE_BIN -RUN gradle -v - -################################################################## -# KOTLIN -################################################################## -RUN mkdir -p ${KTC_PATH} -RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} -RUN 7zz x $KTC_TEMP -o$KTC_ROOT -RUN chmod +x -R ${KTC_BIN} -RUN kotlin -version - ################################################################## # cleaninig up ################################################################## diff --git a/linux/ecosystem/teamcity/agent/android-sdk/jdk17/Dockerfile b/linux/ecosystem/teamcity/agent/android-sdk/jdk17/Dockerfile index afa07bae4..0db57b0ff 100644 --- a/linux/ecosystem/teamcity/agent/android-sdk/jdk17/Dockerfile +++ b/linux/ecosystem/teamcity/agent/android-sdk/jdk17/Dockerfile @@ -5,21 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive ENV ANDROID_HOME=/usr/lib/android-sdk ENV ANDROID_SDK_ROOT=/usr/lib/android-sdk -ENV GRADLE_VERSION=8.2 -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.0-RC -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 - -ENV PATH=$PATH:${GRADLE_BIN}:${KTC_BIN}:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin:${ANDROID_SDK_ROOT}/platform-tools:$ANDROID_SDK_ROOT/tools/bin +ENV PATH=$PATH:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin:${ANDROID_SDK_ROOT}/platform-tools:$ANDROID_SDK_ROOT/tools/bin ################################################################## # Android SDK @@ -558,24 +544,6 @@ RUN sdkmanager --install \ RUN yes | sdkmanager --licenses RUN ln -fs $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/screenshot2 $ANDROID_SDK_ROOT/tools/bin/screenshot2 -################################################################## -# GRADLE -################################################################## -RUN mkdir -p $GRADLE_PATH -RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP -RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT -RUN chmod +x -R $GRADLE_BIN -RUN gradle -v - -################################################################## -# KOTLIN -################################################################## -RUN mkdir -p ${KTC_PATH} -RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP} -RUN 7zz x $KTC_TEMP -o$KTC_ROOT -RUN chmod +x -R ${KTC_BIN} -RUN kotlin -version - ################################################################## # cleaninig up ##################################################################