fixup! fixup! src/macros: increase awareness of FROM lines

This commit is contained in:
ryan 2024-09-26 20:55:11 -04:00
parent 595c44d078
commit 6c4e8eddcf
No known key found for this signature in database
GPG key ID: 8E401478A3FBEF72

View file

@ -42,7 +42,7 @@ define dep-list
$(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' \