mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-31 00:55:29 +03:00
171 lines
4.7 KiB
Docker
171 lines
4.7 KiB
Docker
|
FROM epicmorg/debian:wheezy-slim
|
||
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||
|
|
||
|
##################################################################
|
||
|
# perforce client binary
|
||
|
##################################################################
|
||
|
ENV P4_VERSION=r22.1
|
||
|
ENV P4_DOWNLOAD_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64/p4
|
||
|
|
||
|
##################################################################
|
||
|
# update lists
|
||
|
##################################################################
|
||
|
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
|
||
|
apt-get update
|
||
|
|
||
|
##################################################################
|
||
|
# 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 \
|
||
|
clzip \
|
||
|
cvs \
|
||
|
dos2unix \
|
||
|
ffmpeg \
|
||
|
fontconfig \
|
||
|
git \
|
||
|
git-extras \
|
||
|
git-flow \
|
||
|
git-cvs \
|
||
|
git-doc \
|
||
|
git-email \
|
||
|
git-mediawiki \
|
||
|
git-ftp \
|
||
|
gnupg \
|
||
|
gnupg2 \
|
||
|
graphicsmagick \
|
||
|
gzip \
|
||
|
htop \
|
||
|
iftop \
|
||
|
iotop \
|
||
|
iperf \
|
||
|
iperf3 \
|
||
|
iputils-ping \
|
||
|
jq \
|
||
|
kmod \
|
||
|
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 \
|
||
|
plzip \
|
||
|
p7zip-full \
|
||
|
p7zip-rar \
|
||
|
python3-all \
|
||
|
python-all \
|
||
|
python-pip \
|
||
|
python3-pip \
|
||
|
# rclone \
|
||
|
rsync \
|
||
|
rar \
|
||
|
screenfetch \
|
||
|
smbclient \
|
||
|
subversion \
|
||
|
telnet \
|
||
|
tmux \
|
||
|
tree \
|
||
|
util-linux \
|
||
|
uuid-runtime \
|
||
|
unrar \
|
||
|
xz-utils \
|
||
|
wget \
|
||
|
aptitude \
|
||
|
sudo \
|
||
|
logrotate \
|
||
|
subversion-tools \
|
||
|
zip \
|
||
|
pev
|
||
|
|
||
|
##################################################################
|
||
|
# installing fs-tools
|
||
|
##################################################################
|
||
|
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
|
||
|
apt-get install -y --allow-unauthenticated \
|
||
|
btrfs-progs \
|
||
|
exfat-utils \
|
||
|
e2fsprogs \
|
||
|
f2fs-tools \
|
||
|
dosfstools \
|
||
|
hfsutils \
|
||
|
hfsprogs \
|
||
|
jfsutils \
|
||
|
mdadm \
|
||
|
util-linux \
|
||
|
cryptsetup \
|
||
|
lvm2 \
|
||
|
nilfs-tools \
|
||
|
ntfs-3g \
|
||
|
reiser4progs \
|
||
|
reiserfsprogs \
|
||
|
udftools \
|
||
|
xfsprogs \
|
||
|
xfsdump
|
||
|
|
||
|
##################################################################
|
||
|
# git-lfs official binary
|
||
|
##################################################################
|
||
|
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
|
||
|
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
|
||
|
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
|
||
|
COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
|
||
|
RUN apt-get update && \
|
||
|
apt-get install -y --allow-unauthenticated \
|
||
|
git \
|
||
|
git-lfs && \
|
||
|
git --version && \
|
||
|
git-lfs --version
|
||
|
|
||
|
##################################################################
|
||
|
# gh official binary
|
||
|
##################################################################
|
||
|
#RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C99B11DEB97541F0
|
||
|
#COPY etc/apt/sources.list.d/github-cli.list /etc/apt/sources.list.d/github-cli.list
|
||
|
#RUN apt-get update && \
|
||
|
# apt-get install -y --allow-unauthenticated \
|
||
|
# gh && \
|
||
|
# gh --version
|
||
|
|
||
|
##################################################################
|
||
|
# Install p4client
|
||
|
##################################################################
|
||
|
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin ${P4_DOWNLOAD_URL} && \
|
||
|
chmod +x /usr/bin/p4
|
||
|
|
||
|
##################################################################
|
||
|
# Generate ssl key
|
||
|
##################################################################
|
||
|
RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
|
||
|
|
||
|
##################################################################
|
||
|
# 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
|