mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-14 16:17:17 +03:00
Add Dockerfile
This commit is contained in:
parent
705cc9e1be
commit
853ccef3ac
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@ -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"]
|
Loading…
x
Reference in New Issue
Block a user