Use BuildKit features to reduce amount of layers

This commit is contained in:
BtbN
2021-04-05 19:22:03 +02:00
parent e20a907e31
commit e38500bb7d
58 changed files with 8 additions and 281 deletions

View File

@ -35,6 +35,10 @@ BASE_IMAGE="${REGISTRY}/${REPO}/base:latest"
TARGET_IMAGE="${REGISTRY}/${REPO}/base-${TARGET}:latest"
IMAGE="${REGISTRY}/${REPO}/${TARGET}-${VARIANT}${ADDINS_STR:+-}${ADDINS_STR}:latest"
ffbuild_dockerstage() {
to_df "RUN --mount=src=${SELF},dst=/stage.sh run_stage /stage.sh"
}
ffbuild_configure() {
return 0
}