mirror of
https://github.com/shazow/ssh-chat.git
synced 2026-10-22 23:52:12 +03:00
Add Dockerfile
This commit is contained in:
1 parent
705cc9e1be
commit
853ccef3ac
1 file changed
+13
+13
@@ -0,0 +1,13 @@
|
||||
FROM golang:1.3.3
|
||||
MAINTAINER Alvin Lai <al@alvinlai.com>
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y openssh-client
|
||||
|
||||
RUN go get github.com/shazow/ssh-chat
|
||||
RUN ssh-keygen -f ~/.ssh/id_rsa -t rsa -N ''
|
||||
|
||||
EXPOSE 2022
|
||||
|
||||
CMD ["-i", "/root/.ssh/id_rsa", "-vv", "--bind", "\":2022\""]
|
||||
ENTRYPOINT ["ssh-chat"]
|
||||
Reference in new issue
Block a user