Fixes Dockerfile
With Go Modules, the current Dockerfile ignores the code that was COPY'd from the Docker context (and thus always building/installing what was on GitHub).
This commit is contained in:
parent
b1852c7c8e
commit
64d471d13a
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ WORKDIR /go/src/github.com/chihaya/chihaya
|
|||
COPY . /go/src/github.com/chihaya/chihaya
|
||||
|
||||
# Install our golang dependencies and compile our binary.
|
||||
RUN CGO_ENABLED=0 go install github.com/chihaya/chihaya/cmd/...
|
||||
RUN CGO_ENABLED=0 go install ./cmd/chihaya
|
||||
|
||||
FROM alpine:latest
|
||||
RUN apk add --no-cache ca-certificates
|
||||
|
|
Loading…
Reference in a new issue