mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-24 13:45:32 +03:00
jessie java
This commit is contained in:
parent
e60521fc09
commit
24d8c08ff8
26
linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile
Normal file
26
linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Dockerfile
Normal file
@ -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
|
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Makefile
Normal file
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk11/Makefile
Normal file
@ -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
|
@ -0,0 +1,6 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/debian:jessie-jdk11"
|
||||||
|
build:
|
||||||
|
context: .
|
26
linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Dockerfile
Normal file
26
linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Dockerfile
Normal file
@ -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
|
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Makefile
Normal file
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk12/Makefile
Normal file
@ -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
|
@ -0,0 +1,6 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/debian:jessie-jdk12"
|
||||||
|
build:
|
||||||
|
context: .
|
26
linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Dockerfile
Normal file
26
linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Dockerfile
Normal file
@ -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
|
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Makefile
Normal file
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk13/Makefile
Normal file
@ -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
|
@ -0,0 +1,6 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/debian:jessie-jdk13"
|
||||||
|
build:
|
||||||
|
context: .
|
26
linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Dockerfile
Normal file
26
linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Dockerfile
Normal file
@ -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
|
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Makefile
Normal file
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk14/Makefile
Normal file
@ -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
|
@ -0,0 +1,6 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/debian:jessie-jdk14"
|
||||||
|
build:
|
||||||
|
context: .
|
26
linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Dockerfile
Normal file
26
linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Dockerfile
Normal file
@ -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
|
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Makefile
Normal file
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk15/Makefile
Normal file
@ -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
|
@ -0,0 +1,6 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/debian:jessie-jdk15"
|
||||||
|
build:
|
||||||
|
context: .
|
22
linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile
Normal file
22
linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Dockerfile
Normal file
@ -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
|
@ -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
|
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Makefile
Normal file
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk16/Makefile
Normal file
@ -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
|
@ -0,0 +1,6 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/debian:jessie-jdk16"
|
||||||
|
build:
|
||||||
|
context: .
|
22
linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile
Normal file
22
linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Dockerfile
Normal file
@ -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
|
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Makefile
Normal file
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk6/Makefile
Normal file
@ -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
|
@ -0,0 +1,6 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/debian:jessie-jdk6"
|
||||||
|
build:
|
||||||
|
context: .
|
22
linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile
Normal file
22
linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Dockerfile
Normal file
@ -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
|
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Makefile
Normal file
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk7/Makefile
Normal file
@ -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
|
@ -0,0 +1,6 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/debian:jessie-jdk7"
|
||||||
|
build:
|
||||||
|
context: .
|
@ -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 && \
|
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get autoremove -y && \
|
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
|
# cleanup
|
||||||
|
Loading…
Reference in New Issue
Block a user