Dockerfile 749 B

123456789101112131415161718192021222324252627282930
  1. FROM centos:centos7
  2. MAINTAINER Suren A. Chilingaryan
  3. ENV container centos-tools
  4. RUN [ -e /etc/yum.conf ] && sed -i '/tsflags=nodocs/d' /etc/yum.conf || true
  5. # Reinstall all packages to get man pages for them
  6. RUN yum -y reinstall "*" && yum clean all
  7. # Swap out the systemd-container package and install all useful packages
  8. RUN yum -y install \
  9. yum-utils glibc-utils bash-completion less file sed findutils net-tools man-db which bc tar \
  10. openssh-clients lftp curl samba-client \
  11. screen vim-enhanced nano \
  12. git bzr \
  13. mc \
  14. kubernetes-client \
  15. && yum clean all
  16. # Set default command
  17. CMD ["/usr/bin/bash"]
  18. COPY sx.sh /bin/sx
  19. RUN chmod 775 /bin/sx
  20. CMD [ "/bin/sx" ]