Dockerfile 924 B

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