From 24d8c08ff8bede485ef850920b42c6dc8155fb17 Mon Sep 17 00:00:00 2001 From: "stam@epicm.org" Date: Thu, 5 May 2022 15:04:39 +0300 Subject: [PATCH] jessie java --- .../debian/08-jessie/jdk11/Dockerfile | 26 +++++++++++++++++++ .../epicmorg/debian/08-jessie/jdk11/Makefile | 19 ++++++++++++++ .../debian/08-jessie/jdk11/docker-compose.yml | 6 +++++ .../debian/08-jessie/jdk12/Dockerfile | 26 +++++++++++++++++++ .../epicmorg/debian/08-jessie/jdk12/Makefile | 19 ++++++++++++++ .../debian/08-jessie/jdk12/docker-compose.yml | 6 +++++ .../debian/08-jessie/jdk13/Dockerfile | 26 +++++++++++++++++++ .../epicmorg/debian/08-jessie/jdk13/Makefile | 19 ++++++++++++++ .../debian/08-jessie/jdk13/docker-compose.yml | 6 +++++ .../debian/08-jessie/jdk14/Dockerfile | 26 +++++++++++++++++++ .../epicmorg/debian/08-jessie/jdk14/Makefile | 19 ++++++++++++++ .../debian/08-jessie/jdk14/docker-compose.yml | 6 +++++ .../debian/08-jessie/jdk15/Dockerfile | 26 +++++++++++++++++++ .../epicmorg/debian/08-jessie/jdk15/Makefile | 19 ++++++++++++++ .../debian/08-jessie/jdk15/docker-compose.yml | 6 +++++ .../debian/08-jessie/jdk16/Dockerfile | 22 ++++++++++++++++ .../debian/08-jessie/jdk16/Dockerfile.adopted | 26 +++++++++++++++++++ .../epicmorg/debian/08-jessie/jdk16/Makefile | 19 ++++++++++++++ .../debian/08-jessie/jdk16/docker-compose.yml | 6 +++++ .../epicmorg/debian/08-jessie/jdk6/Dockerfile | 22 ++++++++++++++++ .../epicmorg/debian/08-jessie/jdk6/Makefile | 19 ++++++++++++++ .../debian/08-jessie/jdk6/docker-compose.yml | 6 +++++ .../epicmorg/debian/08-jessie/jdk7/Dockerfile | 22 ++++++++++++++++ .../epicmorg/debian/08-jessie/jdk7/Makefile | 19 ++++++++++++++ .../debian/08-jessie/jdk7/docker-compose.yml | 6 +++++ .../epicmorg/debian/08-jessie/jdk8/Dockerfile | 3 ++- 26 files changed, 424 insertions(+), 1 deletion(-) create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk11/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk12/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk13/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk14/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk15/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.adopted create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk16/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk6/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/08-jessie/jdk7/docker-compose.yml diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile new file mode 100644 index 000000000..c8ab98578 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile @@ -0,0 +1,26 @@ +FROM epicmorg/debian:jessie +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/ jessie 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 && \ + 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/08-jessie/jdk11/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/docker-compose.yml new file mode 100644 index 000000000..36cc157a1 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk11/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:jessie-jdk11" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Dockerfile new file mode 100644 index 000000000..d01f39def --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Dockerfile @@ -0,0 +1,26 @@ +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 && \ + 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/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/docker-compose.yml new file mode 100644 index 000000000..bf7951c82 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk12/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:jessie-jdk12" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Dockerfile new file mode 100644 index 000000000..81f9690d8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Dockerfile @@ -0,0 +1,26 @@ +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 && \ + 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/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/docker-compose.yml new file mode 100644 index 000000000..687e31c62 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk13/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:jessie-jdk13" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Dockerfile new file mode 100644 index 000000000..28f5f403e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Dockerfile @@ -0,0 +1,26 @@ +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 && \ + 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/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/docker-compose.yml new file mode 100644 index 000000000..84d3b6e29 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk14/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:jessie-jdk14" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Dockerfile new file mode 100644 index 000000000..7be47db41 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Dockerfile @@ -0,0 +1,26 @@ +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 && \ + 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/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/docker-compose.yml new file mode 100644 index 000000000..601e4e286 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk15/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:jessie-jdk15" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile new file mode 100644 index 000000000..ab8c19795 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile @@ -0,0 +1,22 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java16 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-16 && \ + 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.adopted b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.adopted new file mode 100644 index 000000000..20a242aba --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile.adopted @@ -0,0 +1,26 @@ +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/ jessie 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 && \ + 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/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/docker-compose.yml new file mode 100644 index 000000000..7c59407aa --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk16/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:jessie-jdk16" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile new file mode 100644 index 000000000..c46e29bdb --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile @@ -0,0 +1,22 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java6 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-6 && \ + java -version + +################################################################## +# 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/jdk6/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/docker-compose.yml new file mode 100644 index 000000000..df3de3302 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk6/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:jessie-jdk6" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile new file mode 100644 index 000000000..7608cc5be --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile @@ -0,0 +1,22 @@ +FROM epicmorg/debian:jessie +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# installing java7 +################################################################## +RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \ + echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \ + apt-get update -y && \ + apt-get install -y --allow-unauthenticated zulu-7 && \ + java -version + +################################################################## +# 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/jdk7/Makefile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/docker-compose.yml new file mode 100644 index 000000000..ebaa1d9fe --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk7/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:jessie-jdk7" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile index 8e882e05e..e9bbb82b1 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile @@ -9,7 +9,8 @@ RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | a 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-8-hotspot + apt-get install -y --allow-unauthenticated adoptopenjdk-8-hotspot && \ + java -version ################################################################## # cleanup