Originally I worked on this for the multi-stage build Dockerfile changes. Decided to split this out as we are still waiting for multi-stage to be available on CI and rebasing these is pretty annoying. Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: b529d1b0936b90ae14d584c73f7332919f8d76b7 Component: engine
12 lines
327 B
Bash
Executable File
12 lines
327 B
Bash
Executable File
#!/bin/sh
|
|
|
|
VNDR_COMMIT=a6e196d8b4b0cbbdc29aebdb20c59ac6926bb384
|
|
|
|
install_vndr() {
|
|
echo "Install vndr version $VNDR_COMMIT"
|
|
git clone https://github.com/LK4D4/vndr.git "$GOPATH/src/github.com/LK4D4/vndr"
|
|
cd "$GOPATH/src/github.com/LK4D4/vndr"
|
|
git checkout -q "$VNDR_COMMIT"
|
|
go build -buildmode=pie -v -o ${PREFIX}/vndr .
|
|
}
|