2020-01-30 12:28:56 +03:00
|
|
|
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
|
|
|
|
##################################################################
|
2021-09-21 18:33:18 +03:00
|
|
|
ENV P4_VERSION=r21.1
|
|
|
|
ENV P4_DOWNLOAD_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64/p4
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# 7z official binary
|
|
|
|
##################################################################
|
|
|
|
ENV SZ_VERSION=7z2103
|
|
|
|
ENV SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
|
2020-03-02 17:03:49 +03:00
|
|
|
|
2021-12-15 19:01:31 +03:00
|
|
|
##################################################################
|
|
|
|
# LazyGit official binary
|
|
|
|
##################################################################
|
|
|
|
ENV LZGIT_VERSION=0.31.4
|
|
|
|
ENV LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz
|
|
|
|
|
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 \
|
2021-03-11 00:28:50 +03:00
|
|
|
aptitude \
|
2019-12-29 18:37:03 +03:00
|
|
|
bash \
|
2020-02-28 18:19:25 +03:00
|
|
|
binutils \
|
2021-09-21 18:33:18 +03:00
|
|
|
bzip2 \
|
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 \
|
2021-09-21 18:33:18 +03:00
|
|
|
clzip \
|
2021-01-27 19:56:07 +03:00
|
|
|
dos2unix \
|
2019-12-29 18:37:03 +03:00
|
|
|
ffmpeg \
|
|
|
|
fontconfig \
|
|
|
|
git \
|
2021-12-15 19:01:31 +03:00
|
|
|
git-lfs \
|
2019-12-29 18:37:03 +03:00
|
|
|
gnupg \
|
|
|
|
gnupg2 \
|
|
|
|
graphicsmagick \
|
2021-09-21 18:33:18 +03:00
|
|
|
gzip \
|
2019-12-29 18:37:03 +03:00
|
|
|
htop \
|
|
|
|
iftop \
|
|
|
|
iputils-ping \
|
2020-05-22 20:43:05 +03:00
|
|
|
jq \
|
2019-12-29 18:37:03 +03:00
|
|
|
kmod \
|
2021-09-21 18:33:18 +03:00
|
|
|
libxml2-dev \
|
|
|
|
libxml2-utils \
|
|
|
|
lbzip2 \
|
2020-05-22 20:43:05 +03:00
|
|
|
libsvn-java \
|
2019-12-29 18:37:03 +03:00
|
|
|
locales \
|
|
|
|
lsb-release \
|
|
|
|
lsof \
|
|
|
|
lynx \
|
2021-09-21 18:33:18 +03:00
|
|
|
lzma \
|
|
|
|
libzip4 \
|
|
|
|
lzip \
|
|
|
|
lzop \
|
2019-12-29 18:37:03 +03:00
|
|
|
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 \
|
2021-09-21 18:33:18 +03:00
|
|
|
pbzip2 \
|
|
|
|
plzip \
|
|
|
|
p7zip-full \
|
|
|
|
p7zip-rar \
|
2019-12-29 18:37:03 +03:00
|
|
|
rsync \
|
2021-09-21 18:33:18 +03:00
|
|
|
rar \
|
2019-12-29 18:37:03 +03:00
|
|
|
screenfetch \
|
|
|
|
smbclient \
|
2020-03-23 15:11:56 +03:00
|
|
|
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 \
|
|
|
|
util-linux \
|
|
|
|
uuid-runtime \
|
2021-09-21 18:33:18 +03:00
|
|
|
unrar \
|
|
|
|
xz-utils \
|
2019-12-29 18:37:03 +03:00
|
|
|
wget \
|
2021-09-21 18:33:18 +03:00
|
|
|
zip
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# Install p4client
|
|
|
|
##################################################################
|
|
|
|
RUN wget -nv --random-wait -c -P /usr/bin ${P4_DOWNLOAD_URL} && \
|
|
|
|
chmod +x /usr/bin/p4
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# Install 7z official binary
|
|
|
|
##################################################################
|
|
|
|
RUN wget -nv --random-wait -c -O /tmp/7z.tar.xz ${SZ_DOWNLOAD_URL} && \
|
|
|
|
mkdir -p /tmp/7z && \
|
|
|
|
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
|
|
|
|
chmod +x /tmp/7z/7zz && \
|
|
|
|
mv -fv /tmp/7z/7zz /usr/bin/ && \
|
|
|
|
7zz | head -4 && \
|
|
|
|
7z | head -4
|
2019-12-29 18:37:03 +03:00
|
|
|
|
2021-12-15 19:01:31 +03:00
|
|
|
##################################################################
|
|
|
|
# Install LazyGit official binary
|
|
|
|
##################################################################
|
|
|
|
RUN wget -nv --random-wait -c -O /tmp/lazygit.tar.xz ${LZGIT_DOWNLOAD_URL} && \
|
|
|
|
mkdir -p /tmp/lazygit && \
|
|
|
|
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
|
|
|
|
chmod +x /tmp/lazygit/lazygit && \
|
|
|
|
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \
|
|
|
|
lazygit --version
|
|
|
|
|
2021-09-01 16:39:06 +03:00
|
|
|
##################################################################
|
2021-09-21 18:33:18 +03:00
|
|
|
# Generate ssl key
|
2021-09-01 16:39:06 +03:00
|
|
|
##################################################################
|
2021-09-21 18:33:18 +03:00
|
|
|
RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
|
2021-09-01 16:39:06 +03:00
|
|
|
|
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/* && \
|
2021-09-01 16:39:06 +03:00
|
|
|
rm -rfv /tmp/mc.patch && \
|
2021-09-21 18:33:18 +03:00
|
|
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
2021-12-15 19:01:31 +03:00
|
|
|
rm -rfv /tmp/7z && \
|
|
|
|
rm -rfv /tmp/lazygit
|