Added the ssh server as part of base image.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ameer Hamza Khan
2024-12-03 05:16:42 +00:00
parent 56c1232e5c
commit 9866a5d1c5
2 changed files with 4 additions and 0 deletions

View File

@@ -20,6 +20,8 @@ RUN apt install -y net-tools iputils-ping tcpdump traceroute iproute2 iptables i
RUN apt install -y software-properties-common
RUN apt install -y openssh-server
# Installing locales
RUN apt install -y locales
ENV LC_ALL=en_US.UTF-8

View File

@@ -20,6 +20,8 @@ then
sudo chown -R $(id -u):$(id -g) $LOG_FILE
fi
sudo service ssh start
eval $USER_COMMAND_INIT
eval $SYS_COMMAND_INIT
eval $USER_COMMAND_SETUP