Since extensions will generally require reorganizing files to fit the necessary layout, and because (at least application) extensions may be mounted to an arbitrary location, only runtime packages are used in building extensions. Extension container.yaml need to include at least build-extension, runtime-version, and branch, should list packages as normal, and then include a cleanup-commands to move the correct files to the necessary layout under /app.
Since extensions will generally require reorganizing files to fit the necessary layout, and because (at least application) extensions may be mounted to an arbitrary location, only runtime packages are used in building extensions. Extension container.yaml need to include at least
build-extension,runtime-version, andbranch, should listpackagesas normal, and then include acleanup-commandsto move the correct files to the necessary layout under /app.