Skip to content

Commit

Permalink
fixed tti
Browse files Browse the repository at this point in the history
  • Loading branch information
jerson committed Nov 12, 2020
1 parent e44637d commit 23022f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cross_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CMD=${CMD:-make build}
ARGS=${ARGS:-}
DOCKER_IMAGE_CROSS=docker.elastic.co/beats-dev/golang-crossbuild:${GOVERSION}

docker run -it --rm -v "$PWD":/app -w /app \
docker run -t --rm -v "$PWD":/app -w /app \
-e CGO_ENABLED=1 ${ARGS} \
"${DOCKER_IMAGE_CROSS}-${TAG}" \
--build-cmd "${CMD}" -p "${GOOS}/${GOARCH}"

0 comments on commit 23022f2

Please sign in to comment.