Dockerfile.ubuntu20.base #1

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

RUN apt-get -y update; \
    echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections; \
    echo  "postfix postfix/mailname string `hostname`" | debconf-set-selections; \
    echo "postfix postfix/main_mailer_type string 'No configuration'" | debconf-set-selections; \
    apt-get install -y postfix; \
    apt-get install -y apt-utils; \
    apt-get install -y mailutils; \
    apt-get install -y openssh-server; \
    apt-get install -y wget; \
    apt-get install -y python3.5; \
    apt-get install -y python3.5-dev; \
    apt-get install -y python3-pip; \
    apt-get install -y libssl-dev; \
    apt-get install -y sudo; \
    apt-get autoremove; \
    apt-get clean

RUN pip3 install p4python==2020.1.2056111 testinfra

# Some tools needed for testing.
RUN apt-get install -y curl

# Some tools needed for testing or useful for interactive test inspection.
RUN apt-get install -y vim

# Change User Description Committed
#7 28122 C. Thomas Tyler Changed Ubuntu to use the official Ubuntu 'library' image tag.

Changed Rocky Linux to use the official Rocky Linux images.

Corrected name of FROM images in "*.hi" files to reference
'perforce_hi/' rather than 'perforce/'.
#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 27303 C. Thomas Tyler General test suite usability and doc enhancements.
#3 27295 C. Thomas Tyler Simplified Ubuntu base file.
#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