From 23022f2d95fa4f415906efc7033696b07b4a2d48 Mon Sep 17 00:00:00 2001 From: Gerson Alexander Pardo Gamez Date: Wed, 11 Nov 2020 23:59:32 -0500 Subject: [PATCH] fixed tti --- cross_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cross_build.sh b/cross_build.sh index eacabef..1d08e62 100755 --- a/cross_build.sh +++ b/cross_build.sh @@ -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}" \ No newline at end of file