Add fully layered build

This commit is contained in:
BtbN 2021-04-06 03:41:36 +02:00
parent d3518d0933
commit c419c549b9
4 changed files with 77 additions and 11 deletions

View file

@ -39,6 +39,14 @@ ffbuild_dockerstage() {
to_df "RUN --mount=src=${SELF},dst=/stage.sh run_stage /stage.sh"
}
ffbuild_dockerlayer() {
to_df "COPY --from=${SELFLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
}
ffbuild_dockerfinal() {
to_df "COPY --from=${PREVLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
}
ffbuild_configure() {
return 0
}