2022-09-09 04:45:10 +03:00
|
|
|
FROM epicmorg/debian:squeeze-slim
|
|
|
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# perforce client binary
|
|
|
|
##################################################################
|
|
|
|
ENV P4_VERSION=r22.1
|
2022-09-09 14:01:30 +03:00
|
|
|
ENV P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
|
2022-09-09 04:45:10 +03:00
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# update lists
|
|
|
|
##################################################################
|
|
|
|
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
|
2022-09-09 05:22:23 +03:00
|
|
|
apt-get update
|
2022-09-09 04:45:10 +03:00
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# installing utils
|
|
|
|
##################################################################
|
|
|
|
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
|
|
|
|
apt-get install -y --allow-unauthenticated \
|
|
|
|
acl \
|
|
|
|
bzip2 \
|
|
|
|
cmatrix \
|
|
|
|
cmatrix-xfont \
|
|
|
|
cron \
|
|
|
|
curl \
|
|
|
|
cvs \
|
|
|
|
dos2unix \
|
|
|
|
ffmpeg \
|
|
|
|
fontconfig \
|
|
|
|
git \
|
|
|
|
git-flow \
|
|
|
|
git-cvs \
|
|
|
|
git-doc \
|
|
|
|
git-email \
|
|
|
|
gnupg \
|
|
|
|
gnupg2 \
|
|
|
|
graphicsmagick \
|
|
|
|
gzip \
|
|
|
|
htop \
|
|
|
|
iftop \
|
|
|
|
iotop \
|
|
|
|
iperf \
|
|
|
|
iputils-ping \
|
|
|
|
libxml2-dev \
|
|
|
|
libxml2-utils \
|
|
|
|
lbzip2 \
|
|
|
|
libsvn-java \
|
|
|
|
locales \
|
|
|
|
lsb-release \
|
|
|
|
lsof \
|
|
|
|
lynx \
|
|
|
|
lzma \
|
|
|
|
lzip \
|
|
|
|
lzop \
|
|
|
|
mc \
|
|
|
|
mercurial \
|
|
|
|
nano \
|
|
|
|
nload \
|
|
|
|
ntop \
|
|
|
|
nmap \
|
|
|
|
openssl \
|
|
|
|
perl \
|
|
|
|
procps \
|
|
|
|
pbzip2 \
|
|
|
|
p7zip-full \
|
|
|
|
p7zip-rar \
|
|
|
|
python3-all \
|
|
|
|
python-all \
|
|
|
|
python-pip \
|
|
|
|
rsync \
|
|
|
|
rar \
|
|
|
|
smbclient \
|
|
|
|
subversion \
|
|
|
|
telnet \
|
|
|
|
tmux \
|
|
|
|
tree \
|
|
|
|
util-linux \
|
|
|
|
uuid-runtime \
|
|
|
|
unrar \
|
|
|
|
xz-utils \
|
|
|
|
wget \
|
|
|
|
aptitude \
|
|
|
|
sudo \
|
|
|
|
logrotate \
|
|
|
|
subversion-tools \
|
2022-09-09 05:36:44 +03:00
|
|
|
zip
|
2022-09-09 04:45:10 +03:00
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# installing fs-tools
|
|
|
|
##################################################################
|
2022-10-16 13:56:59 +03:00
|
|
|
#RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
|
|
|
|
# apt-get install -y --allow-unauthenticated \
|
|
|
|
# btrfs-tools \
|
|
|
|
# exfat-utils \
|
|
|
|
# e2fsprogs \
|
|
|
|
# dosfstools \
|
|
|
|
# hfsutils \
|
|
|
|
# hfsprogs \
|
|
|
|
# jfsutils \
|
|
|
|
# mdadm \
|
|
|
|
# util-linux \
|
|
|
|
# cryptsetup \
|
|
|
|
# lvm2 \
|
|
|
|
# nilfs-tools \
|
|
|
|
# ntfs-3g \
|
|
|
|
# reiser4progs \
|
|
|
|
# reiserfsprogs \
|
|
|
|
# udftools \
|
|
|
|
# xfsprogs \
|
|
|
|
# xfsdump
|
2022-09-09 04:45:10 +03:00
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# Install p4client
|
|
|
|
##################################################################
|
|
|
|
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin ${P4_DOWNLOAD_URL} && \
|
|
|
|
chmod +x /usr/bin/p4
|
|
|
|
|
2022-11-14 22:12:31 +03:00
|
|
|
##################################################################
|
|
|
|
# dumb init
|
|
|
|
##################################################################
|
|
|
|
ENV DUMB_INIT_VERSION=1.2.5
|
|
|
|
RUN wget -q --no-check-certificate -c https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64 --random-wait -O /usr/bin/dumb-init && \
|
|
|
|
chmod +x /usr/bin/dumb-init && \
|
|
|
|
dumb-init --version
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# grab gosu for easy step-down from root
|
|
|
|
##################################################################
|
|
|
|
ENV GOSU_VER 1.14
|
|
|
|
RUN wget -q --no-check-certificate -c https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64 --random-wait -O /usr/local/bin/gosu && \
|
|
|
|
chmod +x /usr/local/bin/gosu && \
|
|
|
|
gosu --version
|
|
|
|
|
2022-09-09 04:45:10 +03:00
|
|
|
##################################################################
|
|
|
|
# Generate ssl key
|
|
|
|
##################################################################
|
2022-09-09 19:03:45 +03:00
|
|
|
RUN openssl dhparam -out /etc/ssl/dhparam.pem 512
|
2022-09-09 04:45:10 +03:00
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# cleanup
|
|
|
|
##################################################################
|
|
|
|
RUN apt-get purge policykit-1 -y && \
|
|
|
|
apt-get clean -y && \
|
|
|
|
apt-get autoclean -y && \
|
|
|
|
rm -rfv /var/lib/apt/lists/* && \
|
|
|
|
rm -rfv /tmp/* && \
|
|
|
|
rm -rfv /var/cache/apt/archives/*.deb
|