Dockerfile.centos6.base #3

  • //
  • guest/
  • perforce_software/
  • helix-installer/
  • dev/
  • test/
  • docker/
  • Dockerfile.centos6.base
  • View
  • Commits
  • Open Download .zip Download (316 B)
FROM centos:centos6
MAINTAINER Tom Tyler "ttyler@perforce.com"

RUN yum install -y cronie file rsync sudo vim wget which
RUN sed -ie "s/^Defaults[ \t]*requiretty/#Defaults  requiretty/g" /etc/sudoers

RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''; \
  ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
# Change User Description Committed
#6 27392 C. Thomas Tyler Dropped support for CentOS 6.
#5 27386 C. Thomas Tyler Removed some packages not needed in base Docker images.
#4 27384 C. Thomas Tyler Removed unneeded (and failing) ssh-keygen commands from Docker setup.

We may need SSH keys for more sophisticated tests later, but in that
case we wouldn't want them baked into Docker image as we'd want to
test our software that generates keys.
#3 27303 C. Thomas Tyler General test suite usability and doc enhancements.
#2 27287 C. Thomas Tyler Removed excess content from Docker *.base files, mostly removing
Python which isn't needed in the image (as the Helix Installer
that we're testing has its own knowledge of platform-dependent
lists of what needs to be installed where).

Evolved test suite doc.
#1 27284 C. Thomas Tyler Added Docker test suite to displace Vagrant.
Initial version passes with options:
hits.sh -o centos7