This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #826 from jdeathe/centos-7-develop
Release changes for 2.6.0
- Loading branch information
Showing
26 changed files
with
1,867 additions
and
1,211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
ENABLE_SSHD_BOOTSTRAP=true | ||
ENABLE_SSHD_WRAPPER=true | ||
SSH_AUTHORIZED_KEYS= | ||
SSH_AUTOSTART_SSHD=true | ||
SSH_AUTOSTART_SSHD_BOOTSTRAP=true | ||
SSH_CHROOT_DIRECTORY=%h | ||
SSH_INHERIT_ENVIRONMENT=false | ||
SSH_PASSWORD_AUTHENTICATION=false | ||
SSH_SUDO=ALL=(ALL) ALL | ||
SSH_TIMEZONE=UTC | ||
SSH_USER=app-admin | ||
SSH_USER_FORCE_SFTP=false | ||
SSH_USER_HOME=/home/%u | ||
SSH_USER_ID=500:500 | ||
SSH_USER_PASSWORD= | ||
SSH_USER_PASSWORD_HASHED=false | ||
SSH_USER_PRIVATE_KEY= | ||
SSH_USER_SHELL=/bin/bash | ||
SSH_USER_SHELL=/bin/bash | ||
SYSTEM_TIMEZONE=UTC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM centos:7.5.1804 | ||
FROM centos:7.6.1810 | ||
|
||
ARG RELEASE_VERSION="2.5.1" | ||
ARG RELEASE_VERSION="2.6.0" | ||
|
||
# ------------------------------------------------------------------------------ | ||
# - Import the RPM GPG keys for repositories | ||
|
@@ -23,13 +23,18 @@ RUN rpm --rebuilddb \ | |
centos-release-scl-rh \ | ||
epel-release \ | ||
https://centos7.iuscommunity.org/ius-release.rpm \ | ||
&& yum -y install \ | ||
--setopt=tsflags=nodocs \ | ||
--disableplugin=fastestmirror \ | ||
inotify-tools-3.14-8.el7 \ | ||
openssh-clients-7.4p1-16.el7 \ | ||
openssh-server-7.4p1-16.el7 \ | ||
openssl-1.0.2k-16.el7 \ | ||
python-setuptools-0.9.8-7.el7 \ | ||
sudo-1.8.23-3.el7 \ | ||
yum-plugin-versionlock-1.1.31-50.el7 \ | ||
&& yum versionlock add \ | ||
inotify-tools \ | ||
openssh \ | ||
openssh-server \ | ||
openssh-clients \ | ||
|
@@ -38,7 +43,7 @@ RUN rpm --rebuilddb \ | |
yum-plugin-versionlock \ | ||
&& yum clean all \ | ||
&& easy_install \ | ||
'supervisor == 3.3.5' \ | ||
'supervisor == 4.0.3' \ | ||
'supervisor-stdout == 0.1.1' \ | ||
&& mkdir -p \ | ||
/var/log/supervisor/ \ | ||
|
@@ -81,33 +86,33 @@ RUN ln -sf \ | |
-e "s~{{RELEASE_VERSION}}~${RELEASE_VERSION}~g" \ | ||
/etc/systemd/system/[email protected] \ | ||
&& chmod 644 \ | ||
/etc/{supervisord.conf,supervisord.d/sshd-{bootstrap,wrapper}.conf} \ | ||
/etc/{supervisord.conf,supervisord.d/{20-sshd-bootstrap,50-sshd-wrapper}.conf} \ | ||
&& chmod 700 \ | ||
/usr/{bin/healthcheck,sbin/{scmi,sshd-{bootstrap,wrapper}}} | ||
/usr/{bin/healthcheck,sbin/{scmi,sshd-{bootstrap,wrapper},system-{timezone,timezone-wrapper}}} | ||
|
||
EXPOSE 22 | ||
|
||
# ------------------------------------------------------------------------------ | ||
# Set default environment variables | ||
# ------------------------------------------------------------------------------ | ||
ENV \ | ||
ENABLE_SSHD_BOOTSTRAP="true" \ | ||
ENABLE_SSHD_WRAPPER="true" \ | ||
ENABLE_SUPERVISOR_STDOUT="false" \ | ||
SSH_AUTHORIZED_KEYS="" \ | ||
SSH_AUTOSTART_SSHD="true" \ | ||
SSH_AUTOSTART_SSHD_BOOTSTRAP="true" \ | ||
SSH_AUTOSTART_SUPERVISOR_STDOUT="true" \ | ||
SSH_CHROOT_DIRECTORY="%h" \ | ||
SSH_INHERIT_ENVIRONMENT="false" \ | ||
SSH_PASSWORD_AUTHENTICATION="false" \ | ||
SSH_SUDO="ALL=(ALL) ALL" \ | ||
SSH_TIMEZONE="UTC" \ | ||
SSH_USER="app-admin" \ | ||
SSH_USER_FORCE_SFTP="false" \ | ||
SSH_USER_HOME="/home/%u" \ | ||
SSH_USER_ID="500:500" \ | ||
SSH_USER_PASSWORD="" \ | ||
SSH_USER_PASSWORD_HASHED="false" \ | ||
SSH_USER_PRIVATE_KEY="" \ | ||
SSH_USER_SHELL="/bin/bash" | ||
SSH_USER_SHELL="/bin/bash" \ | ||
SYSTEM_TIMEZONE="UTC" | ||
|
||
# ------------------------------------------------------------------------------ | ||
# Set image metadata | ||
|
@@ -140,7 +145,7 @@ jdeathe/centos-ssh:${RELEASE_VERSION} \ | |
org.deathe.license="MIT" \ | ||
org.deathe.vendor="jdeathe" \ | ||
org.deathe.url="https://github.com/jdeathe/centos-ssh" \ | ||
org.deathe.description="CentOS-7 7.5.1804 x86_64 - SCL, EPEL and IUS Repositories / Supervisor / OpenSSH." | ||
org.deathe.description="CentOS-7 7.6.1810 x86_64 - SCL, EPEL and IUS Repositories / Supervisor / OpenSSH." | ||
|
||
HEALTHCHECK \ | ||
--interval=1s \ | ||
|
Oops, something went wrong.