Skip to content

Commit 4abcae0

Browse files
authored
Merge pull request #15 from buildkite-plugins/SUP-4723-remove-docker-requirement
Use non-Docker go binary for builds
2 parents 094c963 + d5263b4 commit 4abcae0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hooks/environment

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ build_dir="$(dirname "$d")"
2727

2828
echo "~~~ :electric_plug: Building plugin hooks"
2929
echo "Building for ${HOST_GOOS} on ${HOST_GOARCH}"
30-
docker run --rm -v "${build_dir}":/plugin -w /plugin -e GOOS=${HOST_GOOS} -e GOARCH=${HOST_GOARCH} golang:latest go build -o hooks/pre-exit
30+
cd "${build_dir}" && go build -o hooks/pre-exit

0 commit comments

Comments
 (0)