fixup! src/macros: increase awareness of FROM lines

This commit is contained in:
ryan 2024-09-26 20:54:07 -04:00
parent 044048ebd9
commit 595c44d078
No known key found for this signature in database
GPG key ID: 8E401478A3FBEF72

View file

@ -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' \