mirror of
https://github.com/linuxserver/docker-openssh-server.git
synced 2026-01-20 03:41:49 +08:00
Merge branch 'master' into trustca
This commit is contained in:
commit
e856cc696d
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -72,7 +72,9 @@ pipeline {
|
||||
fi
|
||||
done
|
||||
fi
|
||||
docker system prune -f --volumes || : '''
|
||||
docker system prune -f --volumes || :
|
||||
docker image prune -af || :
|
||||
'''
|
||||
script{
|
||||
env.EXIT_STATUS = ''
|
||||
env.LS_RELEASE = sh(
|
||||
@ -754,7 +756,8 @@ pipeline {
|
||||
if [[ -n "${containers}" ]]; then
|
||||
docker stop ${containers}
|
||||
fi
|
||||
docker system prune -af --volumes || :
|
||||
docker system prune -f --volumes || :
|
||||
docker image prune -af || :
|
||||
'''
|
||||
}
|
||||
}
|
||||
@ -1180,6 +1183,7 @@ EOF
|
||||
done
|
||||
fi
|
||||
docker system prune -f --volumes || :
|
||||
docker image prune -af || :
|
||||
'''
|
||||
cleanWs()
|
||||
}
|
||||
|
||||
@ -340,6 +340,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **10.02.25:** - Add support for sshd_config.d
|
||||
* **12.01.25:** - Rebase to Alpine 3.21.
|
||||
* **24.11.24:** - Move sshd_config to /config/sshd/sshd_config.
|
||||
* **31.05.24:** - Rebase to Alpine 3.20.
|
||||
|
||||
@ -121,6 +121,7 @@ init_diagram: |
|
||||
# changelog
|
||||
changelogs:
|
||||
- {date: "12.02.25:", desc: "Add support for trusted user CA keys"}
|
||||
- {date: "10.02.25:", desc: "Add support for sshd_config.d"}
|
||||
- {date: "12.01.25:", desc: "Rebase to Alpine 3.21."}
|
||||
- {date: "24.11.24:", desc: "Move sshd_config to /config/sshd/sshd_config."}
|
||||
- {date: "31.05.24:", desc: "Rebase to Alpine 3.20."}
|
||||
|
||||
@ -51,6 +51,12 @@ if [[ ! -d /config/ssh_host_keys ]]; then
|
||||
cp /etc/ssh/ssh_host_* /config/ssh_host_keys
|
||||
fi
|
||||
|
||||
# Enable sshd_config.d if mounted
|
||||
if [[ -d /config/sshd/sshd_config.d ]]; then
|
||||
sed -i 's/Include \/etc\/ssh\/sshd_config.d\/\*.conf/Include \/config\/sshd\/sshd_config.d\/\*.conf/' /config/sshd/sshd_config
|
||||
sed -i '/Include \/config\/sshd\/sshd_config.d/s/^#*//' /config/sshd/sshd_config
|
||||
fi
|
||||
|
||||
# display SSH host public key(s)
|
||||
echo "SSH host public key(s):"
|
||||
cat /config/ssh_host_keys/ssh_host_*.pub
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user