docker-scripts/epicmorg/prod/main/Dockerfile

90 lines
2.4 KiB
Docker
Raw Normal View History

FROM debian:buster-slim
2019-12-29 18:37:03 +03:00
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# buster sources list
##################################################################
COPY deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg
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
2020-01-30 18:36:30 +03:00
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
2019-12-29 18:37:03 +03:00
2020-03-02 17:03:49 +03:00
##################################################################
# perforce client binary
##################################################################
2020-12-26 02:07:35 +03:00
ARG P4_VERSION=r20.2
2020-03-02 17:03:49 +03:00
ARG P4_DOWNLOAD_URL=http://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64/p4
2019-12-29 18:37:03 +03:00
##################################################################
# 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 \
2020-02-28 18:19:25 +03:00
binutils \
2019-12-29 18:37:03 +03:00
ca-certificates \
cmatrix \
cmatrix-xfont \
console-cyrillic \
2020-05-19 22:36:10 +03:00
cron \
2019-12-29 18:37:03 +03:00
curl \
ffmpeg \
fontconfig \
git \
gnupg \
gnupg2 \
graphicsmagick \
htop \
iftop \
iputils-ping \
2020-05-22 20:43:05 +03:00
jq \
2019-12-29 18:37:03 +03:00
kmod \
2020-05-22 20:43:05 +03:00
libsvn-java \
2019-12-29 18:37:03 +03:00
libzip4 \
locales \
lsb-release \
lsof \
lynx \
mc \
2020-02-28 18:19:25 +03:00
mercurial \
2019-12-29 18:37:03 +03:00
nano \
2020-03-24 21:21:13 +03:00
nload \
2019-12-29 18:37:03 +03:00
nmap \
openssl \
perl \
procps \
rsync \
screenfetch \
smbclient \
software-properties-common \
2020-02-28 18:19:25 +03:00
subversion \
2019-12-29 18:37:03 +03:00
sudo \
telnet \
tini \
tmux \
tree \
ttf-dejavu \
util-linux \
uuid-runtime \
wget \
zip && \
2020-03-02 17:03:49 +03:00
wget -nv --random-wait -c -P /usr/bin ${P4_DOWNLOAD_URL} && \
2020-03-06 00:19:10 +03:00
chmod +x /usr/bin/p4 && \
2020-03-02 17:03:49 +03:00
openssl dhparam -out /etc/ssl/dhparam.pem 4096
2019-12-29 18:37:03 +03:00
##################################################################
# cleaninig up
##################################################################
2020-07-17 17:53:53 +03:00
RUN apt purge policykit-1 -y && \
apt clean -y && \
2019-12-29 18:37:03 +03:00
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb