Skip to content

Commit

Permalink
Merge pull request #367 from konstruktoid/ISSUE362c
Browse files Browse the repository at this point in the history
accept only if ADD in / #362
  • Loading branch information
konstruktoid committed Mar 19, 2019
2 parents 5370aef + 740439d commit 2e6b7ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/4_container_images.sh
Expand Up @@ -224,8 +224,8 @@ check_4_9() {
fail=0
add_images=""
for img in $images; do
if docker history --format "{{ .CreatedBy }}" --no-trunc "$img" | sed '$d' |\
grep -q 'ADD'; then
if docker history --format "{{ .CreatedBy }}" --no-trunc "$img" | \
sed '$d' | grep -q 'ADD.*in /\s$'; then
if [ $fail -eq 0 ]; then
fail=1
info "$check_4_9"
Expand Down

0 comments on commit 2e6b7ec

Please sign in to comment.