Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

centos-7-2.0.2

Compare
Choose a tag to compare
@jdeathe jdeathe released this 21 May 21:04
· 576 commits to centos-7-develop since this release
2.0.2

CentOS-7 7.2.1511 x86_64 - SCL/EPEL/IUS Repos / Supervisor / OpenSSH.

Release changes

  • Updated container packages sudo and openssh.

  • Updated container's supervisord to 3.2.3.

  • Added SSH_AUTOSTART_SSHD && SSH_AUTOSTART_SSHD_BOOTSTRAP to allow the operator or downstream developer to prevent the sshd service and/or sshd-bootstrap from startup.

  • Added Makefile to replace build.sh and run.sh helper scripts. See #162 for notes on usage instructions.

  • Set Dockerfile environment variable values in a single build step which helps reduce build time.

  • Fixed issue with setting SSH USER UID:GID values in systemd installation.

  • Fixed issue with setting of SSH_SUDO in Systemd installation.

  • Replaced custom awk type filters with docker native commands where possible.

  • Fixed issue preventing sshd restarts being possible due to bootstrap lock file dependancy.

  • Use exec to run the sshd daemon within the container.

  • Use exec to run the docker daemon process from the systemd unit file template.

  • Reduced startup time by ~1 second by not requiring supervisord to wait for the sshd service to stay up for the default 1 second.

  • Revised systemd installation process, installer script and service template. ssh.pool-1.1.1@2020.service has been replaced by ssh.pool-1@.service and local instances are created of the form ssh.pool-1@1.1, ssh.pool-1@2.1, ssh.pool-1@3.1 etc. which correspond to docker containers named ssh.pool-1.1.1, ssh.pool-1.2.1, ssh.pool-1.3.1 etc. To start 3 systemd managed containers you can simply run:

    $ for i in {1..3}; do sudo env SERVICE_UNIT_LOCAL_ID=$i ./systemd-install.sh; done
    
  • The systemd service registration feature is now enabled via an optional service unit template file ssh.pool-1.register@.service.

Download then load the docker image using:

$ xz -dc centos-ssh.centos-6-2.0.2.tar.xz | docker load