The runtime and server versions supported in a buildpack
search cancel

The runtime and server versions supported in a buildpack

book

Article ID: 294983

calendar_today

Updated On:

Products

VMware Tanzu Application Service VMware Tanzu Application Platform

Issue/Introduction

Symptoms:

The buildpacks only support the most recent two versions of the installed dependencies. The applications that are configured to use a fixed dependency eventually run into issues as a buildpack is upgraded. They include newer dependency versions and drop the dependency version required by the applications.

Examples:

  • Ruby users who have the specific version of ruby set in their Gemfile
  • Node.js users who have the specific version of Node.js set in the package.json file
  • PHP users who have the specific version of PHP set in either .bp-config/options.json or in composer.json
  • Python users who have the specific version of Python set in runtime.txt
  • Go users who have the specific version of Golang set with Godeps

Affected users see an error message like this:

Could not get translated url, exited with: 
DEPENDENCY_MISSING_IN_MANIFEST: https://path/to/ruby-2.1.0.tgz

Environment

 

Resolution

If an application depends on a binary dependency which is no longer supported:

  • Update the application to use a binary dependency that is supported by the buildpack going forward. See the the details on exactly what each build pack supports using the links below:
  • For Golang instructions, see this Go Buildpack
  • For NodeJS instructions, see this Node.js Buildpack
  • For PHP instructions, see this PHP Buildpack
  • For Python instructions, see this Python Buildpack
  • For Ruby instructions, see this Ruby Buildpack
  1. Use an older version of the buildpack. Tanzu does not recommend this option as using an older version of a buildpack may make it susceptible to known vulnerabilities that have been patched and fixed in newer versions of the buildpack.