Skip to content

Commit 300ee8b

Browse files
authored
Merge pull request #74 from lukaszbudnik/test-v4.0
fixing go-playground/validator package fetches
2 parents 9f7e815 + 82eb467 commit 300ee8b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ ARG SOURCE_BRANCH
66

77
# build migrator
88
RUN apk add git
9+
RUN go get -v github.com/gin-gonic/gin
910
RUN go get -d -v github.com/lukaszbudnik/migrator
1011
RUN cd /go/src/github.com/lukaszbudnik/migrator && git checkout $SOURCE_BRANCH && ./setup.sh
1112
RUN cd /go/src/github.com/lukaszbudnik/migrator && \

setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
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
55
for 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;
79
done

0 commit comments

Comments
 (0)