summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-28 02:54:00 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-28 02:54:00 +0100
commita4f8f68f2604096de935f3a20ea230b95e0eb130 (patch)
tree58796e0c6aa1b0281fa711491cfdc09a59588741 /Dockerfile
downloadands-management-a4f8f68f2604096de935f3a20ea230b95e0eb130.tar.gz
ands-management-a4f8f68f2604096de935f3a20ea230b95e0eb130.tar.bz2
ands-management-a4f8f68f2604096de935f3a20ea230b95e0eb130.tar.xz
ands-management-a4f8f68f2604096de935f3a20ea230b95e0eb130.zip
Initial import
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..c80be20
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,30 @@
+FROM centos:centos7
+MAINTAINER Suren A. Chilingaryan
+
+ENV container centos-tools
+
+RUN [ -e /etc/yum.conf ] && sed -i '/tsflags=nodocs/d' /etc/yum.conf || true
+
+# Reinstall all packages to get man pages for them
+RUN yum -y reinstall "*" && yum clean all
+
+# Swap out the systemd-container package and install all useful packages
+RUN 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 clean all
+
+# Set default command
+CMD ["/usr/bin/bash"]
+
+
+
+COPY sx.sh /bin/sx
+RUN chmod 775 /bin/sx
+
+CMD [ "/bin/sx" ]
+