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 136
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 #518 from jdeathe/centos-7-develop
Release changes for 2.2.3
- Loading branch information
Showing
8 changed files
with
847 additions
and
573 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
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 |
---|---|---|
|
@@ -55,7 +55,7 @@ RUN rpm --rebuilddb \ | |
# supervisord to be easily inspected with "docker logs". | ||
# ----------------------------------------------------------------------------- | ||
RUN easy_install \ | ||
'supervisor == 3.3.1' \ | ||
'supervisor == 3.3.2' \ | ||
'supervisor-stdout == 0.1.1' \ | ||
&& mkdir -p \ | ||
/var/log/supervisor/ | ||
|
@@ -89,6 +89,8 @@ RUN sed -i \ | |
# ----------------------------------------------------------------------------- | ||
# Copy files into place | ||
# ----------------------------------------------------------------------------- | ||
ADD src/usr/bin \ | ||
/usr/bin/ | ||
ADD src/usr/sbin \ | ||
/usr/sbin/ | ||
ADD src/opt/scmi \ | ||
|
@@ -152,7 +154,7 @@ ENV SSH_AUTHORIZED_KEYS="" \ | |
# ----------------------------------------------------------------------------- | ||
# Set image metadata | ||
# ----------------------------------------------------------------------------- | ||
ARG RELEASE_VERSION="2.2.2" | ||
ARG RELEASE_VERSION="2.2.3" | ||
LABEL \ | ||
maintainer="James Deathe <[email protected]>" \ | ||
install="docker run \ | ||
|
@@ -183,4 +185,10 @@ jdeathe/centos-ssh:${RELEASE_VERSION} \ | |
org.deathe.url="https://github.com/jdeathe/centos-ssh" \ | ||
org.deathe.description="CentOS-7 7.3.1611 x86_64 - SCL, EPEL and IUS Repositories / Supervisor / OpenSSH." | ||
|
||
HEALTHCHECK \ | ||
--interval=0.5s \ | ||
--timeout=1s \ | ||
--retries=5 \ | ||
CMD ["/usr/bin/healthcheck"] | ||
|
||
CMD ["/usr/bin/supervisord", "--configuration=/etc/supervisord.conf"] |
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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
source /etc/sshd-bootstrap.conf | ||
|
||
# sshd-bootstrap | ||
if [[ ${SSH_AUTOSTART_SSHD_BOOTSTRAP} == true ]]; then | ||
[[ -e /var/lock/subsys/sshd-bootstrap ]] && exit 1 | ||
grep -qE "^# ${SSH_USER}" /etc/sudoers || exit 1 | ||
fi | ||
|
||
# sshd-wrapper | ||
if [[ ${SSH_AUTOSTART_SSHD} == true ]]; then | ||
ps axo command \ | ||
| grep -qE '^/usr/sbin/sshd -D' || exit 1 | ||
fi | ||
|
||
exit 0 |
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
Oops, something went wrong.