Skip to content

Commit baee7c5

Browse files
committed
add the source responsible for getting openssh server
1 parent c46e5f6 commit baee7c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ RUN apt-get update \
3737
&& rm -rf /var/lib/apt/lists/*
3838

3939
#SSH
40+
RUN echo "deb http://ftp.us.debian.org/debian jessie main" | tee -a /etc/apt/sources.list
4041
RUN apt-get -y install openssh-server
4142
RUN mkdir /var/run/sshd
4243
RUN sed -i "s/#PasswordAuthentication yes/PasswordAuthentication no/" /etc/ssh/sshd_config

0 commit comments

Comments
 (0)