deb12 fix

This commit is contained in:
Anatolii Zimovskii 2022-05-08 11:01:07 +03:00
parent b2eff9fd09
commit b46947e4cc
Signed by: stam
GPG Key ID: AA3A575AB99E8469
24 changed files with 0 additions and 59 deletions

View File

@ -1,26 +0,0 @@
FROM epicmorg/debian:bookworm
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/ bookworm 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

View File

@ -4,11 +4,6 @@ services:
image: "epicmorg/debian:bookworm-jdk11" image: "epicmorg/debian:bookworm-jdk11"
build: build:
context: . context: .
app-old:
image: "epicmorg/debian:bookworm-jdk11-adopted"
build:
context: .
dockerfile: ./Dockerfile.adopted
app-develop: app-develop:
image: "epicmorg/debian:bookworm-develop-jdk11" image: "epicmorg/debian:bookworm-develop-jdk11"
build: build:

View File

@ -1,23 +0,0 @@
FROM epicmorg/debian:bookworm
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/ bookworm 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 && \
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

View File

@ -4,11 +4,6 @@ services:
image: "epicmorg/debian:bookworm-jdk8" image: "epicmorg/debian:bookworm-jdk8"
build: build:
context: . context: .
app-old:
image: "epicmorg/debian:bookworm-jdk8-adopted"
build:
context: .
dockerfile: ./Dockerfile.adopted
app-develop: app-develop:
image: "epicmorg/debian:bookworm-develop-jdk8" image: "epicmorg/debian:bookworm-develop-jdk8"
build: build: