Added the ssh server as part of base image.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user