mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-25 06:05:37 +03:00
deb12 fix
This commit is contained in:
parent
b2eff9fd09
commit
b46947e4cc
@ -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
|
|
@ -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:
|
||||||
|
@ -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
|
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user