Merge "Remove validate-install-command.sh"

This commit is contained in:
Zuul 2020-11-20 12:19:37 +00:00 committed by Gerrit Code Review
commit d6f3398538

View File

@ -1,12 +0,0 @@
#!/bin/bash
RES=0
for dockerfile in "$@"; do
if grep "apt-get install\|yum install" "$dockerfile"; then
echo "ERROR: $dockerfile has incorrectly formatted install command Should be in the form 'apt-get|yum -y install ...'" >&2
RES=1
fi
done
exit $RES