Spaces:
Build error
Build error
accplan commited on
Commit ·
eca8dc5
1
Parent(s): b66b8c3
test
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,8 @@ RUN apk add --update --no-cache openssh
|
|
| 4 |
RUN echo 'PasswordAuthentication yes' >> /etc/ssh/sshd_config
|
| 5 |
RUN echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config
|
| 6 |
|
|
|
|
|
|
|
| 7 |
RUN adduser -h /home/user -s /bin/sh -D user
|
| 8 |
RUN echo -n 'user:test' | chpasswd
|
| 9 |
USER user
|
|
|
|
| 4 |
RUN echo 'PasswordAuthentication yes' >> /etc/ssh/sshd_config
|
| 5 |
RUN echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config
|
| 6 |
|
| 7 |
+
RUN cat /etc/ssh/sshd_config
|
| 8 |
+
|
| 9 |
RUN adduser -h /home/user -s /bin/sh -D user
|
| 10 |
RUN echo -n 'user:test' | chpasswd
|
| 11 |
USER user
|