blob: 28ac530e0fd5e65ad886476e0e8e6d818184a4eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
FROM centos:centos7
MAINTAINER Suren A. Chilingaryan
ENV container centos-tools
COPY files/ /
RUN \
# Reinstall all packages to get man pages for them
[ -e /etc/yum.conf ] && sed -i '/tsflags=nodocs/d' /etc/yum.conf || true; \
yum -y reinstall "*" && yum clean all && \
\
# Swap out the systemd-container package and install all useful packages
yum-config-manager -y --add-repo http://ufo.kit.edu/ands/repos/centos74/ && \
yum -y install \
yum-utils glibc-utils bash-completion less file sed findutils net-tools man-db which bc tar \
openssh-clients lftp curl samba-client \
screen vim-enhanced nano \
git bzr \
mc \
kubernetes-client && \
yum -y --nogpgcheck install NetPIPE \
&& yum clean all && \
\
chmod 775 /bin/sx && \
chmod g=u /etc/passwd
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD [ "/usr/bin/sx" ]
|