mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-15 10:26:44 +00:00
update dev-base
This commit is contained in:
15
dev-base/bootstrap.sh
Normal file
15
dev-base/bootstrap.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# reset root password
|
||||
|
||||
if [[ -z "${SSH_PASS}" ]]; then
|
||||
export SSH_PASS=password
|
||||
fi
|
||||
|
||||
echo "${SSH_PASS}" | passwd --stdin
|
||||
|
||||
# start sshd service
|
||||
/etc/init.d/ssh start
|
||||
|
||||
# do nothing but wait
|
||||
sleep infinity
|
||||
Reference in New Issue
Block a user