2020-01-13 19:08:38 +03:00
|
|
|
FROM epicmorg/devel
|
|
|
|
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 | sudo apt-key add - && \
|
|
|
|
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
|
|
|
|
apt-get update && \
|
2020-01-30 18:36:30 +03:00
|
|
|
apt-get autoremove -y && \
|
2020-01-13 19:08:38 +03:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# cleaninig up
|
|
|
|
##################################################################
|
|
|
|
RUN apt clean -y && \
|
|
|
|
apt autoclean -y && \
|
|
|
|
rm -rfv /var/lib/apt/lists/* && \
|
|
|
|
rm -rfv /var/cache/apt/archives/*.deb
|