4027: Revamp SSH use in our Docker images.
authorBrett Smith <brett@curoverse.com>
Mon, 24 Nov 2014 20:53:00 +0000 (15:53 -0500)
committerBrett Smith <brett@curoverse.com>
Tue, 9 Dec 2014 15:11:59 +0000 (10:11 -0500)
commit100e61fc48010dc50b26c8943ac4df67f45a1d20
tree99d03e07c31ea50eebe8a14d8aadef982fdaba07
parentb09686ba2ad8fedb5147a632c6edc3e68cdad171
4027: Revamp SSH use in our Docker images.

* Don't install or run SSH in most of our Docker images.  `docker
  exec` is now preferred to inspect running images.

* Do run SSH on the API server, always, for Gitolite.

There is a feature regression here: the user's SSH key is not
automatically installed on the shell account.  This needs to be fixed
another way.  In the meantime, it's not difficult to run
`docker exec -ti --user=self shell /bin/bash`, and you can clone the
repository from the host system.
17 files changed:
docker/api/Dockerfile
docker/api/ssh.sh [deleted file]
docker/api/supervisor.conf
docker/arvdock
docker/base/Dockerfile
docker/build_tools/build.rb
docker/build_tools/config.rb
docker/compute/Dockerfile
docker/compute/ssh.sh [deleted file]
docker/compute/supervisor.conf
docker/config.yml.example
docker/doc/apache2_foreground.sh
docker/shell/Dockerfile
docker/shell/setup.sh.in
docker/slurm/supervisor.conf
docker/sso/apache2_foreground.sh
docker/workbench/apache2_foreground.sh