Skip to content

Commit

Permalink
fix the building on ARM64 platform
Browse files Browse the repository at this point in the history
- currently there is no glide version 0.13.2 for ARM64 platform
- see Masterminds/glide#1044

Signed-off-by: Stanislav Chlebec <[email protected]>
  • Loading branch information
Stanislav Chlebec committed Mar 6, 2019
1 parent 630ed87 commit ad3a13e
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docker/dev_sfc_controller_alpine/build-glide.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,17 @@ mkdir -p $GOPATH
# install golint, gvt & Glide
go get -u github.com/golang/lint/golint
go get -u github.com/FiloSottile/gvt
curl https://glide.sh/get | sh
BUILDARCH=`uname -m`
case "$BUILDARCH" in
"aarch64" )
go get github.com/Masterminds/glide
;;

"x86_64" )
curl https://glide.sh/get | sh
;;
* )
echo "Architecture ${BUILDARCH} is not supported."
exit
;;
esac

0 comments on commit ad3a13e

Please sign in to comment.