2022-05-07 03:11:26 +03:00
|
|
|
FROM epicmorg/debian:bullseye-develop
|
|
|
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# installing java8
|
|
|
|
##################################################################
|
2022-05-07 16:11:09 +03:00
|
|
|
RUN wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - && \
|
2022-05-07 03:11:26 +03:00
|
|
|
echo 'deb 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 && \
|
|
|
|
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
|