59a1c8b9fb
Added new option in kolla-build.conf Change-Id: I45fe51966bcb59ea19d112281ba3d5a1ba091a56 Closes-Bug:#1514304
15 lines
240 B
Bash
Executable File
15 lines
240 B
Bash
Executable File
#!/bin/bash
|
|
|
|
MAINTAINER='MAINTAINER {{ maintainer }}'
|
|
RES=0
|
|
|
|
for dockerfile in "$@"; do
|
|
if ! grep -q "$MAINTAINER" "$dockerfile"; then
|
|
echo "ERROR: $dockerfile has incorrect MAINTAINER" >&2
|
|
RES=1
|
|
fi
|
|
done
|
|
|
|
exit $RES
|
|
|