docker-scripts/epicmorg/prod/Dockerfile
2019-09-23 16:05:00 +03:00

69 lines
1.9 KiB
Docker

FROM debian:buster
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# buster sources list
##################################################################
RUN rm /etc/apt/sources.list
COPY sources.list /etc/apt/sources.list
RUN apt update && apt dist-upgrade -y
COPY locale.gen /etc/locale.gen
##################################################################
# installing utils
##################################################################
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get update && \
apt-get install -y --allow-unauthenticated \
apt-transport-https \
apt-utils \
bash \
ca-certificates \
cmatrix \
cmatrix-xfont \
console-cyrillic \
curl \
ffmpeg \
fontconfig \
git \
gnupg \
gnupg2 \
htop \
iftop \
iputils-ping \
libzip4 \
locales \
lsb-release \
lsof \
lynx \
mc \
nano \
openssl \
perl \
procps \
rsync \
screenfetch \
smbclient \
sudo \
tini \
tmux \
tree \
ttf-dejavu \
util-linux \
uuid-runtime \
wget
##################################################################
# installing java8
##################################################################
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02 && \
echo 'deb https://rpardini.github.io/adoptopenjdk-deb-installer stable main' > /etc/apt/sources.list.d/rpardini-aoj.list && \
apt-get update && \
apt-get install -y --allow-unauthenticated adoptopenjdk-8-installer
##################################################################
# cleaninig up
##################################################################
RUN rm -rfv /var/lib/apt/lists/*