2022-05-05 01:56:29 +03:00
|
|
|
FROM epicmorg/debian:jessie
|
|
|
|
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/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
|
|
|
|
apt-get update && \
|
|
|
|
apt-get autoremove -y && \
|
2022-05-05 15:04:39 +03:00
|
|
|
apt-get install -y --allow-unauthenticated adoptopenjdk-8-hotspot && \
|
|
|
|
java -version
|
2022-05-05 01:56:29 +03:00
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# 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
|