1. 06 Aug, 2018 1 commit
    • David Johnson's avatar
      In docker image emulabization, attempt to combine COPY instructions. · 18361092
      David Johnson authored
      We now try to emulate any simple COPY <src> <dst> instructions via rsync
      prior to image build.
      
      This *does* mean that artifact builder scripts must be careful to create
      all necessary dirs according to the base image semantics, because the
      base image content is not there when we emulate the COPY instructions.
      For instance, many of the modified Dockerfile-runit and
      runit-artifacts.sh files depended on built runit packages being
      installed into /tmp in the final image -- but they didn't create the
      /tmp dir because the COPY instruction they used was running atop a
      fully-populated base image that already had /tmp.  Thus, the
      runit-artifacts.sh scripts had to be changed to create /tmp with the
      proper permissions.
      18361092
  2. 08 Feb, 2018 1 commit
  3. 01 May, 2017 1 commit
    • David Johnson's avatar
      Switch over to using our customized runit on Ubuntu and CentOS. · 1451226d
      David Johnson authored
      Our customized runit supports a systemd-like mode allowing init to exit
      inside containers (and to be signaled to halt from outside, via
      SIGRTMIN+3).  This is critically important for Docker containers, since
      Docker will wait ~10 seconds before sending a final killall on
      'docker restart'.  We were already building runit for rpm-based distros,
      since it's not packaged by default for them, so this just takes it a
      little further.  Now container death is nearly instantaneous.
      
      (Also fix a couple stray runit config bugs in 1,2,3.)
      1451226d