diff --git a/jumphost/Dockerfile b/jumphost/Dockerfile index 98ec490..a20860d 100644 --- a/jumphost/Dockerfile +++ b/jumphost/Dockerfile @@ -7,7 +7,7 @@ COPY supervisord.conf /etc/supervisord.conf RUN apt-get update && \ apt-get -y upgrade && \ apt-get -y --purge autoremove && \ - apt-get -y install wget python3 python3-venv irssi neomutt ssh supervisor tmux && \ + apt-get -y install wget python3 python3-venv irssi neomutt ssh supervisor tmux vim && \ apt-get -y clean && \ touch /var/log/supervisord.log && \ mkdir /var/run/sshd && \ diff --git a/jumphost/create_users.sh b/jumphost/create_users.sh index c052c7a..2ffff60 100644 --- a/jumphost/create_users.sh +++ b/jumphost/create_users.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash for user in /jumphost_users/*; do - uid=`cat /jumphost_users/${user} + uid=`cat /jumphost_users/${user}` /usr/sbin/groupadd -g ${uid} ${user} /usr/sbin/useradd -d /home/${user} -m -s /bin/bash -u ${uid} -g ${uid} ${user} done \ No newline at end of file