Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions cmd/build
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Check if Docker is installed
if [[ $(which docker) && $(docker --version) ]]; then
# Docker is installed
echo Using $(docker --version)
else
# Docker is not installed
echo Docker is not installed. Please follow the Get Started guide at https://github.com/google/testrun
exit 1
fi

# Builds all docker images
echo Building docker images

Expand Down