Compare commits
2 Commits
6a761c4655
...
975d38192d
Author | SHA1 | Date |
---|---|---|
|
975d38192d | |
|
fa3004e525 |
|
@ -14,3 +14,12 @@
|
||||||
[submodule "vendor/github.com/patrickmn/go-cache"]
|
[submodule "vendor/github.com/patrickmn/go-cache"]
|
||||||
path = vendor/github.com/patrickmn/go-cache
|
path = vendor/github.com/patrickmn/go-cache
|
||||||
url = https://github.com/patrickmn/go-cache.git
|
url = https://github.com/patrickmn/go-cache.git
|
||||||
|
[submodule "vendor/github.com/dustin/go-humanize"]
|
||||||
|
path = vendor/github.com/dustin/go-humanize
|
||||||
|
url = https://github.com/dustin/go-humanize.git
|
||||||
|
[submodule "vendor/github.com/olekukonko/tablewriter"]
|
||||||
|
path = vendor/github.com/olekukonko/tablewriter
|
||||||
|
url = https://github.com/olekukonko/tablewriter.git
|
||||||
|
[submodule "vendor/github.com/alecthomas/kingpin"]
|
||||||
|
path = vendor/github.com/alecthomas/kingpin
|
||||||
|
url = https://github.com/alecthomas/kingpin.git
|
||||||
|
|
|
@ -3,7 +3,7 @@ FROM golang:1.10 AS builder
|
||||||
RUN mkdir -p /go/src/app
|
RUN mkdir -p /go/src/app
|
||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
|
|
||||||
ARG ROOT_IMPORT_PATH=github.com/icedream/embot
|
ARG ROOT_IMPORT_PATH=git.icedream.tech/icedream/soccer-bot
|
||||||
COPY . /go/src/app
|
COPY . /go/src/app
|
||||||
RUN \
|
RUN \
|
||||||
mkdir -p "$GOPATH/src/$(dirname "$ROOT_IMPORT_PATH")" &&\
|
mkdir -p "$GOPATH/src/$(dirname "$ROOT_IMPORT_PATH")" &&\
|
||||||
|
@ -13,5 +13,5 @@ RUN \
|
||||||
###
|
###
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=builder /soccerbot /
|
COPY --from=builder /soccer-bot /
|
||||||
ENTRYPOINT ["/soccerbot"]
|
ENTRYPOINT ["/soccer-bot"]
|
||||||
|
|
2
main.go
2
main.go
|
@ -12,11 +12,11 @@ import (
|
||||||
|
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
|
"github.com/alecthomas/kingpin"
|
||||||
"github.com/dustin/go-humanize"
|
"github.com/dustin/go-humanize"
|
||||||
"github.com/icedream/go-footballdata"
|
"github.com/icedream/go-footballdata"
|
||||||
"github.com/olekukonko/tablewriter"
|
"github.com/olekukonko/tablewriter"
|
||||||
"github.com/thoj/go-ircevent"
|
"github.com/thoj/go-ircevent"
|
||||||
"gopkg.in/alecthomas/kingpin.v2"
|
|
||||||
|
|
||||||
"git.icedream.tech/icedream/soccer-bot/antispam"
|
"git.icedream.tech/icedream/soccer-bot/antispam"
|
||||||
"git.icedream.tech/icedream/soccer-bot/manager"
|
"git.icedream.tech/icedream/soccer-bot/manager"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit a39589180ebd6bbf43076e514b55f20a95d43086
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 02af3965c54e8cacf948b97fef38925c4120652c
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit d4647c9c7a84d847478d890b816b7d8b62b0b279
|
Loading…
Reference in New Issue