Skip to content

Commit 999ac25

Browse files
committed
Skip --from files when finding the commit
1 parent 0785264 commit 999ac25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

generate-stackbrew-library.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ dirCommit() {
3737
$(git show HEAD:./Dockerfile | awk '
3838
toupper($1) == "COPY" {
3939
for (i = 2; i < NF; i++) {
40+
if ($i ~ /^--from=/) {
41+
next
42+
}
4043
print $i
4144
}
4245
}

0 commit comments

Comments
 (0)