mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-12 23:27:17 +03:00
ci: Remove Dockerfile, golint, update travisci to use tip
This commit is contained in:
parent
82d9f4d0a2
commit
5566514636
@ -5,8 +5,6 @@ notifications:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- export PATH=$PATH:$HOME/gopath/bin
|
- export PATH=$PATH:$HOME/gopath/bin
|
||||||
- go get github.com/GeertJohan/fgt
|
|
||||||
- go get github.com/golang/lint/golint
|
|
||||||
- make deps
|
- make deps
|
||||||
|
|
||||||
script:
|
script:
|
||||||
@ -14,4 +12,4 @@ script:
|
|||||||
- make test
|
- make test
|
||||||
|
|
||||||
go:
|
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"]
|
|
1
Makefile
1
Makefile
@ -30,7 +30,6 @@ debug: $(BINARY) $(KEY)
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
go test ./...
|
go test ./...
|
||||||
golint ./...
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
GOOS=linux GOARCH=amd64 $(LDFLAGS) ./build_release "github.com/shazow/ssh-chat/cmd/ssh-chat" README.md LICENSE
|
GOOS=linux GOARCH=amd64 $(LDFLAGS) ./build_release "github.com/shazow/ssh-chat/cmd/ssh-chat" README.md LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user