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() {
12
12
trap fail ERR
13
13
14
14
docker 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
16
16
echo " ❌ goimports found a problem in go source files. See above for the files with problems."
17
17
EXIT_CODE=2
18
18
else
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ trap exit_and_fail INT ERR
13
13
docker build --target=builder --build-arg=" GOPROXY=direct" -t codeblocks -f $SCRIPTPATH /../../Dockerfile $SCRIPTPATH /../../
14
14
docker build -t rundoc -f $SCRIPTPATH /rundoc-Dockerfile $SCRIPTPATH /
15
15
function rd() {
16
- docker run -it --rm -v $SCRIPTPATH /../../:/aeis rundoc rundoc " $@ "
16
+ docker run -i --rm -v $SCRIPTPATH /../../:/aeis rundoc rundoc " $@ "
17
17
}
18
18
19
19
rundoc_output=$( rd list-blocks /aeis/README.md)
@@ -35,7 +35,7 @@ for i in "${!example_files[@]}"; do
35
35
example_file=" ${example_files[$i]} "
36
36
example_bin=$( echo $example_file | cut -d' .' -f1)
37
37
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
39
39
$BUILD_DIR /examples/$example_bin
40
40
echo " ✅ $example_file Executed Successfully!"
41
41
fi
You can’t perform that action at this time.
0 commit comments