HOSTS:
  ubuntu-1204-x64:
    roles:
      - master
    platform: ubuntu-1204-x86_64
    hypervisor: docker
    image: ubuntu:12.04
    docker_preserve_image: true
    # The default 'service ssh start' is not working on Ubuntu 12.04 because upstart has been disabled
    # see https://github.com/tianon/docker-brew-ubuntu-core/issues/4#event-142513085
    docker_cmd: '["sh", "-c", "/usr/sbin/sshd -D"]'
    docker_image_commands:
      # Install a more recent version of PHP
      - 'echo "deb http://ppa.launchpad.net/ondrej/php5/ubuntu precise main" >> /etc/apt/sources.list'
      - 'apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E5267A6C'
      - 'apt-get update'
      - 'apt-get -qqy install cron'

CONFIG:
  type: foss
  log_level: info
  trace_limit: 100

HOSTS:
  ubuntu-1204-x64:
    roles:
      - master
    platform: ubuntu-1204-x86_64
    hypervisor: docker
    image: ubuntu:12.04
    docker_preserve_image: true
    # The default 'service ssh start' is not working on Ubuntu 12.04 because upstart has been disabled
    # see https://github.com/tianon/docker-brew-ubuntu-core/issues/4#event-142513085
    docker_cmd: '["sh", "-c", "/usr/sbin/sshd -D"]'
    docker_image_commands:
      # Install a more recent version of PHP
      - 'echo "deb http://ppa.launchpad.net/ondrej/php5-oldstable/ubuntu precise main" >> /etc/apt/sources.list'
      - 'apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E5267A6C'
      - 'apt-get update'
      - 'apt-get -qqy install cron'

CONFIG:
  type: foss
  log_level: info
  trace_limit: 100

Downgrade to PHP 5.4 to avoid pulling in Apache 2.4
Downgrade to PHP 5.4 to avoid pulling in Apache 2.4
