mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-26 06:35:40 +03:00
21 lines
876 B
Docker
21 lines
876 B
Docker
|
FROM epicmorg/prod
|
||
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||
|
|
||
|
##################################################################
|
||
|
# installing java6
|
||
|
##################################################################
|
||
|
RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \
|
||
|
echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \
|
||
|
apt-get update -y && \
|
||
|
apt-get install -y --allow-unauthenticated zulu-6 && \
|
||
|
java -version
|
||
|
|
||
|
##################################################################
|
||
|
# cleaninig up
|
||
|
##################################################################
|
||
|
RUN apt clean -y && \
|
||
|
apt autoclean -y && \
|
||
|
rm -rfv /var/lib/apt/lists/* && \
|
||
|
rm -rfv /var/cache/apt/archives/*.deb
|