Skip to content

Commit 726050f

Browse files
committed
images: define sidecar container with no-auth sshd
1 parent e2b911a commit 726050f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/templates/Dockerfile_sidecar

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM alpine:latest
2+
3+
RUN apk add openssh
4+
5+
RUN echo "root:" | chpasswd
6+
7+
RUN ssh-keygen -A
8+
9+
CMD ["/usr/sbin/sshd", "-D", \
10+
"-o", "PasswordAuthentication=yes", \
11+
"-o", "PermitEmptyPasswords=yes", \
12+
"-o", "PermitRootLogin=yes"]

0 commit comments

Comments
 (0)