ci: Remove Dockerfile, golint, update travisci to use tip

This commit is contained in:
Andrey Petrov committed 2016-07-17 18:11:00 -04:00
1 parent 82d9f4d0a2
commit 5566514636
3 files changed
+1 -22

No files matched your search

+1 -3
View File
@@ -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
View File
@@ -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"]
-1
View File
@@ -30,7 +30,6 @@ debug: $(BINARY) $(KEY)
test:
go test ./...
golint ./...
release:
GOOS=linux GOARCH=amd64 $(LDFLAGS) ./build_release "github.com/shazow/ssh-chat/cmd/ssh-chat" README.md LICENSE