scripts: support building releases without a TTY
This allows systems such as Jenkins, which do not provide a TTY, to run scripts/release.sh Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
This commit is contained in:
parent
75d3585862
commit
9689522b4f
@ -15,7 +15,7 @@ rm -Rf ${SRC_DIR}/${RELEASE_DIR}
|
|||||||
mkdir -p ${SRC_DIR}/${RELEASE_DIR}
|
mkdir -p ${SRC_DIR}/${RELEASE_DIR}
|
||||||
mkdir -p ${OUTPUT_DIR}
|
mkdir -p ${OUTPUT_DIR}
|
||||||
|
|
||||||
docker run -ti -v ${SRC_DIR}:/go/src/github.com/containernetworking/plugins --rm golang:1.10-alpine \
|
docker run -v ${SRC_DIR}:/go/src/github.com/containernetworking/plugins --rm golang:1.10-alpine \
|
||||||
/bin/sh -xe -c "\
|
/bin/sh -xe -c "\
|
||||||
apk --no-cache add bash tar;
|
apk --no-cache add bash tar;
|
||||||
cd /go/src/github.com/containernetworking/plugins; umask 0022;
|
cd /go/src/github.com/containernetworking/plugins; umask 0022;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user