repo.or.cz
/
dockerfiles.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove opsmop
[dockerfiles.git]
/
ssh
/
Dockerfile
blob
f9c37b4eda0f1d6405bfe7c8ae36d5f28c9d2157
1
FROM alpine:latest
2
3
MAINTAINER Ricardson 'rwcs' Williams <ricardsonwilliams@gmail.com>
4
5
RUN \
6
apk add --no-cache openssh \
7
&& sed -i s/#PermitRootLogin.*/PermitRootLogin\ yes/ /etc/ssh/sshd_config \
8
&& echo "root:root" | chpasswd
9
10
COPY scripts /
11
12
EXPOSE 22
13
14
ENTRYPOINT ["/entrypoint.sh"]
15