paketo-buildpacks / stacks

stacks
Apache License 2.0
35 stars 23 forks source link

Fix link to yj in bionic build Dockerfile. #130

Closed robdimsdale closed 2 years ago

robdimsdale commented 2 years ago

In #128 it was reported that yj is not present on recent images. This is because as of release v5.1.0 of yj the name of the binary changed from yj-linux to yj-linux-amd64. Therefore the new URL is: https://github.com/sclevine/yj/releases/latest/download/yj-linux-amd64.

I don't have a great mental model of how the Dockerfile is used in the stack creation process, specifically whether this change could cause issues for any older images. I don't see how this could be a problem as the URL for yj is now invalid, even if re-building older images, as it references the latest version.

Instead of using the latest version, we could pin to a specific version, but that seems less useful.

Checklist