container.sh 711 B

123456789101112131415
  1. #!/bin/bash
  2. set -e
  3. # We have to eat stderr here because of:
  4. # W: Conflicting distribution: http://http.debian.net rc-buggy InRelease (expected rc-buggy but got experimental)
  5. # W: Conflicting distribution: http://archive.ubuntu.com devel Release (expected devel but got vivid)
  6. # W: Conflicting distribution: http://archive.ubuntu.com devel-updates Release (expected devel-updates but got vivid)
  7. # W: Conflicting distribution: http://archive.ubuntu.com devel-security Release (expected devel-security but got vivid)
  8. apt-get update &> /dev/null
  9. # We have to eat stderr here because of:
  10. # debconf: delaying package configuration, since apt-utils is not installed
  11. apt-get install -y hello &> /dev/null
  12. exec hello