Fix binary name and root import path.
parent
6a761c4655
commit
fa3004e525
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue