Using a Specific Buildpack Version

Using a Specific Buildpack Version

While Compliant Cloud can detect and apply a buildpack automatically, Datica recommends that Compliant Cloud users pin their buildpacks to a specific version.

If the buildpack is not pinned, users run the risk that a buildpack update unexpectedly breaks their code.

How do I pin the buildpack version?

The below procedure outlines how to pin the buildpack version for your application.

1. Set the BUILDPACK_URL environment variable

The Compliant Cloud build procedure constructs the application based on automatically detecting the code type or reading in the BUILDPACK_URL environment variable.

Every buildpack release is tagged with a version number. You can view the releases on the Github page for each buildpacks. Below is the Python buildpack for example:

Navigate to the Python Buildpack in a web browser. You’ll see the Github page. Click on the Releases link as highlighted below:


This displays all of the buildpack releases as highlighted below.


Choose the release you want to pin. In our example, we’ll choose v68. The buildpack URL will look like this:

Ensure you have the correct environment and service association for the application you want to modify. Remember, you can only have one code service associated with each environment alias!

Then set the URL. In this example, I’ve associated my app03 to the alias MyProdEnv-app03:

datica -E MyProdEnv-app03 vars set <service_name> -v BUILDPACK_URL=""

2. Rebuild Application

This change will only take effect on the next build of the application. Builds are triggered by commits to the code service.

See also

Cloud computing for healthcare

If you store, process, or transmit Protected Health Information, rely on Datica to keep you HIPAA compliant with our platform as a service, mobile backend, or managed HL7 integrations.

Contact Us Learn More

Datica learning resources

Learn the important and intracate details of HIPAA compliance, make use of HL7, and understand the security aspects of handling protected health information with our learning resources.

Visit Datica Learning Resources