steps:
- id: 'Lint Dockerfile'
  name: 'hadolint/hadolint:latest-alpine' # https://hub.docker.com/r/hadolint/hadolint
  entrypoint: '/bin/sh'
  args:
  - -c
  - | # Recursively find dockerfiles (not in testing dir)
    find . -name '*Dockerfile' -not -path "./testing/*" -exec hadolint {} \;
    find . -name '*Dockerfile' -not -path "./testing/*" \
      -exec hadolint {} \;| grep -q 'error'
    if [[ $? -eq 0 ]] ; then exit 1 ; fi

steps:
- id: 'Lint Dockerfile'
  name: 'hadolint/hadolint:latest-alpine' # https://hub.docker.com/r/hadolint/hadolint
  entrypoint: '/bin/sh'
  args:
  - -c
  - | # Recursively find dockerfiles (not in testing dir)
    find . -name '*Dockerfile' -not -path "./testing/*" -exec hadolint {} \;
    find . -name '*Dockerfile' -not -path "./testing/*" \
      -exec hadolint {} \;| grep -q 'Dockerfile'
    if [[ $? -eq 0 ]] ; then exit 1 ; fi

Fix caught error for dockerfile lint
Fix caught error for dockerfile lint
