e0ce4bc28a
Change-Id: I7bfca1cd80ecdff8f80091b5d640adbf510b9436
10 lines
302 B
Bash
Executable File
10 lines
302 B
Bash
Executable File
#!/bin/bash
|
|
|
|
### Temp docker syntax checker script. Doesnt really check something...
|
|
set -e
|
|
for file in $(find . -name 'Dockerfile.j2')
|
|
do
|
|
fgrep -q FROM $file || echo 'Miss/ wrong FROM section in file' $file
|
|
fgrep -q MAINTAINER $file || echo 'Miss/ wrong MAINTEINER section in file' $file
|
|
done
|