Questions tagged [buildpack]

A buildpack is a unit of work that inspects your application source code and formulates a plan to build and run your application. Use this tag when using buildpacks, like if there's a failure, or if you are developing buildpacks. This can be used for both traditional buildpacks, like on Cloud Foundry or Heroku, or with Cloud Native Buildpacks.

What's a Buildpack?

A buildpack is a unit of work, typically a script or application, that runs against your application source code and produces a runnable artifact.

A buildpack goes through two main phases: detect and build. During the detect phase, the buildpack will determine if it knows how to build your application. If it does, then during the build phase, the buildpack will execute and package your application into a format that can easily be executed.

The net result is that buildpacks will take your application from its raw source code and generate a runnable artifact. Historically, the runnable artifact has been an archive file, but in the latest iteration, called Cloud Native Buildpacks, it produeces an OCI compliant image that can be run with Docker, Kubernetes or anything that supports running OCI images.

History

Buildpacks were first conceived by Heroku in 2011. Since then, they have been adopted by Cloud Foundry and other PaaS such as Google App Engine, Gitlab, Knative, Deis, Dokku, and Drie.

Buildpacks History

The Cloud Native Buildpacks project was initiated by Pivotal and Heroku in January 2018 and joined the Cloud Native Sandbox in October 2018. The project aims to unify the buildpack ecosystems with a platform-to-buildpack contract that is well-defined and that incorporates learnings from maintaining production-grade buildpacks for years at both Pivotal and Heroku.

Cloud Native Buildpacks embrace modern container standards, such as the OCI image format. They take advantage of the latest capabilities of these standards, such as cross-repository blob mounting and image layer "rebasing" on Docker API v2 registries.

472 questions
-1
votes
2 answers

skaffold: build image using local maven dependency

I'm building my images using pack cli: pack build fhir-mongo --builder paketobuildpacks/builder:base --path target/hes-mpi-fhir-mongodb-service-0.0.1-SNAPSHOT.jar This is my project structure: . ├── hes-mpi-fhir-mongodb │ ├── deployment.yaml │ …
Jordi
  • 20,868
  • 39
  • 149
  • 333
-1
votes
1 answer

How to access System Specific (Cloud Foundry) environment Variable Programmatically using Angular?

I have an angular app which is hosted on cloud .I'm Using Cloud foundry for deployment purpose. I need to access cloud foundry environment variables in my angular app at runtime without using any third party library like Angular Universal or any…
-1
votes
1 answer

How to determine which heroku buildpack to use when multiple are available?

Obviously selecting the right buildpack is critical in order to make secure, performant, and resilient applications. Heroku seems to work with the dev community to create and share buildpacks. A side effect is that there may not be a single,…
stevec
  • 41,291
  • 27
  • 223
  • 311
-1
votes
1 answer

How to refer past buildpacks of Bluemix?

I want to fork past buildpacks and push with -b option. https://docs.cloudfoundry.org/buildpacks/custom.html In the following link, there is only one version/branch. https://github.com/IBM-Bluemix-Docs/liberty/blob/master/ How to refer past…
sintheta
  • 1
  • 2
-1
votes
1 answer

meteor 1.4 buildpack for bluemix

The available build pack fails for meteor 1.4 https://github.com/ind1go/bluemix-buildpack-meteor. Is there any working build pack for meteor 1.4 to deploy to bluemix? or please guide with alternative ways.
-1
votes
2 answers

Push rejected, failed to detect set buildpack git://github.com/CHH/heroku-buildpack-php

I would like to push a new app to Heroku using git push heroku master. After successful authentication have got following error. remote: Building source: remote: remote: -----> Fetching set buildpack git://github.com/CHH/heroku-buildpack-php...…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
-1
votes
2 answers

IBM Bluemix deployment fails for node.js app

Error when deploying a simple node.js app (which works locally): ERR mv: cannot move ‘/tmp/node-v0.10.40-linux-x64/bin’ to ‘/tmp/staged/app/vendor/node/bin’: Directory not empty ERR mv: cannot move ‘/tmp/node-v0.10.40-linux-x64/include’ to…
Dmitry Sadakov
  • 2,128
  • 3
  • 19
  • 34
1 2 3
31
32