Replies: 1 comment
|
Keep the upstream checkout untouched. Almost everything you'd put in that directory can come from outside instead. Put your [io.buildpacks]
exclude = [ "secrets/" ]
builder = "paketobuildpacks/builder-jammy-base"
[[io.buildpacks.group]]
uri = "./my-buildpack"
[[io.buildpacks.build.env]]
name = "MY_MSG"
value = "hello"pack build my-app \
--path /checkouts/upstream-app \
--descriptor /my-config/project.toml \
--default-process my-cliI tested this with the app directory read-only. One detail: "exclude" matches paths under The real gap is processes. The 0.2 schema has no process table (v02/project.go#L10-L19), so References: pack v0.40.9 and the project descriptor spec. |
Uh oh!
There was an error while loading. Please reload this page.
Dear all,
just getting started with Buildpacks, so this might be a FAQ. But as I have not found it answered, maybe because I am missing the proper search terms...
How do I properly build an image for an application, where I am not the maintainer? This means I cannot add files (Procfile etc.) to the application directory?
Would I add those files "on-the-fly" during the build pipeline, before starting the build with buildpacks?
Kind Regards,
Johannes
All reactions