Fix Dockerfile
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7830955b4f
commit
7695d7e916
|
@ -4,7 +4,9 @@ ADD . /src
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
RUN CGO_ENABLED=0 go build -o /src/dlrouter
|
RUN apk add --no-cache git && \
|
||||||
|
export CGO_ENABLED=0 && \
|
||||||
|
go build -o /src/dlrouter
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue