File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function fail() {
1212trap fail ERR
1313
1414docker build --build-arg=GOPROXY=direct -t go-report-card-cli $SCRIPTPATH
15- if [[ $( docker run -it -v $SCRIPTPATH /../../:/app go-report-card-cli /go/bin/goimports -l /app/) ]]; then
15+ if [[ $( docker run -i -v $SCRIPTPATH /../../:/app go-report-card-cli /go/bin/goimports -l /app/) ]]; then
1616 echo " ❌ goimports found a problem in go source files. See above for the files with problems."
1717 EXIT_CODE=2
1818else
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ trap exit_and_fail INT ERR
1313docker build --target=builder --build-arg=" GOPROXY=direct" -t codeblocks -f $SCRIPTPATH /../../Dockerfile $SCRIPTPATH /../../
1414docker build -t rundoc -f $SCRIPTPATH /rundoc-Dockerfile $SCRIPTPATH /
1515function rd() {
16- docker run -it --rm -v $SCRIPTPATH /../../:/aeis rundoc rundoc " $@ "
16+ docker run -i --rm -v $SCRIPTPATH /../../:/aeis rundoc rundoc " $@ "
1717}
1818
1919rundoc_output=$( rd list-blocks /aeis/README.md)
@@ -35,7 +35,7 @@ for i in "${!example_files[@]}"; do
3535 example_file=" ${example_files[$i]} "
3636 example_bin=$( echo $example_file | cut -d' .' -f1)
3737 mkdir -p $BUILD_DIR /examples
38- docker run -it -e GOOS=$OS -e GOARCH=amd64 -v $BUILD_DIR :/amazon-ec2-instance-selector/build --rm codeblocks go build -o build/examples/$example_bin $example_file
38+ docker run -i -e GOOS=$OS -e GOARCH=amd64 -v $BUILD_DIR :/amazon-ec2-instance-selector/build --rm codeblocks go build -o build/examples/$example_bin $example_file
3939 $BUILD_DIR /examples/$example_bin
4040 echo " ✅ $example_file Executed Successfully!"
4141 fi
You can’t perform that action at this time.
0 commit comments