Dockerfile.centos7.base #3

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

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

RUN /usr/bin/ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
RUN /usr/bin/ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
# Change User Description Committed
#6 28116 C. Thomas Tyler Cleaned up Dockerfile.*.base files, removing an obsolte change to
cleanup /etc/sudoers files.
#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