File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ ARG SOURCE_BRANCH
66
77# build migrator
88RUN apk add git
9+ RUN go get -v github.com/gin-gonic/gin
910RUN go get -d -v github.com/lukaszbudnik/migrator
1011RUN cd /go/src/github.com/lukaszbudnik/migrator && git checkout $SOURCE_BRANCH && ./setup.sh
1112RUN cd /go/src/github.com/lukaszbudnik/migrator && \
Original file line number Diff line number Diff line change 33# this is for dockerhub failing on fetching packages from gopkg.in
44# travis resolves this by 3 retries so adapting 3 retries here as well
55for i in {1..3}; do
6+ # explicit gin get makes sure validator package is fetched before other packages are fetched
7+ go get -v github.com/gin-gonic/gin
68 go get -t -v ./... && break || sleep 15;
79done
You can’t perform that action at this time.
0 commit comments