Use makefile && get dependencies
This commit is contained in:
parent
bb29af1824
commit
f368ae71d3
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@ RUN git clone \
|
||||||
# COPY . /app
|
# COPY . /app
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN CGO_ENABLED=0 go build -v ./...
|
|
||||||
|
RUN go get -u \
|
||||||
|
&& CGO_ENABLED=0 make build
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in a new issue