Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Heruko buildpacks samples that failed to determine the target OS #1511

Merged
merged 1 commit into from
Feb 29, 2024

Commits on Feb 29, 2024

  1. Fix Heruko buildpacks samples

    Ref: heroku/buildpacks-procfile#214
    Ref: heroku/libcnb.rs@033f612
    
    Add `CNB_TARGET_OS` and `CNB_TARGET_ARCH` to fix error during the detect
    phase, where the target system cannot be detected:
    ```
    [Error: Internal Buildpack Error]
    Couldn't determine target os: environment variable not found
    err:  heroku/[email protected] (1)
    ======== Output: heroku/[email protected] ========
    ```
    
    There seems to be a changed behavior that was introduced in the common
    buildpacks library that is in use that expects these environment
    variables to be present to detect the target system OS and architecture.
    
    Signed-off-by: Matthias Diester <[email protected]>
    HeavyWombat committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    c2d4725 View commit details
    Browse the repository at this point in the history