fixup! src/macros: increase awareness of FROM lines
This commit is contained in:
parent
044048ebd9
commit
595c44d078
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ define build-context-args
|
|||
$(eval PACKAGE := $(1))
|
||||
grep -Ri \
|
||||
-e "^COPY --from=stagex/"
|
||||
-e "FROM .* AS package" \
|
||||
-e "FROM stagex/.* AS package" \
|
||||
packages/$(PACKAGE)/Containerfile \
|
||||
| sed \
|
||||
-e 's/COPY --from=stagex\/\([^ ]\+\) .*/\1/g' \
|
||||
|
|
Loading…
Reference in a new issue