ci: Remove Dockerfile, golint, update travisci to use tip
This commit is contained in:
parent
82d9f4d0a2
commit
5566514636
|
@ -5,8 +5,6 @@ notifications:
|
|||
|
||||
install:
|
||||
- export PATH=$PATH:$HOME/gopath/bin
|
||||
- go get github.com/GeertJohan/fgt
|
||||
- go get github.com/golang/lint/golint
|
||||
- make deps
|
||||
|
||||
script:
|
||||
|
@ -14,4 +12,4 @@ script:
|
|||
- make test
|
||||
|
||||
go:
|
||||
- 1.4
|
||||
- tip
|
||||
|
|
18
Dockerfile
18
Dockerfile
|
@ -1,18 +0,0 @@
|
|||
#
|
||||
# Usage example:
|
||||
# $ docker build -t ssh-chat .
|
||||
# $ docker run -d -p 0.0.0.0:(your host machine port):2022 --name ssh-chat ssh-chat
|
||||
#
|
||||
FROM golang:1.4
|
||||
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…
Reference in New Issue