1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

api: use dep instead of go get

This commit is contained in:
Adhityaa Chandrasekar
2018-10-18 01:18:01 -04:00
parent 93c9ce0cad
commit a36b11f07d
5 changed files with 20 additions and 8 deletions

View File

@ -4,7 +4,8 @@ FROM golang:1.10.2-alpine AS api-build
COPY ./api /go/src/commento-ce/api
WORKDIR /go/src/commento-ce/api
RUN apk update && apk add bash make git
RUN apk update && apk add bash make git curl
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
RUN make prod -j$(($(nproc) + 1))