mirror of
https://github.com/sot-tech/mochi.git
synced 2026-06-11 15:33:31 -07:00
docker: update Dockerfile for Go 1.13+
This commit is contained in:
+1
-1
@@ -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 GO111MODULE=on go install github.com/chihaya/chihaya/cmd/...
|
||||
RUN CGO_ENABLED=0 go install github.com/chihaya/chihaya/cmd/...
|
||||
|
||||
FROM alpine:latest
|
||||
RUN apk add --no-cache ca-certificates
|
||||
|
||||
Reference in New Issue
Block a user