dokku has git
This commit is contained in:
parent
363cf53866
commit
72a4bebd7f
|
@ -2,6 +2,7 @@ FROM xena/go:1.11.1 AS build
|
||||||
#ENV GOPROXY https://cache.greedo.xeserv.us
|
#ENV GOPROXY https://cache.greedo.xeserv.us
|
||||||
COPY . /site
|
COPY . /site
|
||||||
WORKDIR /site
|
WORKDIR /site
|
||||||
|
RUN apk --no-cache add git
|
||||||
RUN CGO_ENABLED=0 GOBIN=/root go install -v ./cmd/site
|
RUN CGO_ENABLED=0 GOBIN=/root go install -v ./cmd/site
|
||||||
|
|
||||||
FROM xena/alpine
|
FROM xena/alpine
|
||||||
|
|
Loading…
Reference in New Issue