shlinkio / shlink

The definitive self-hosted URL shortener
https://shlink.io
MIT License
3.18k stars 255 forks source link

Fix random errors when building RoadRunner docker image #1756

Closed acelaya closed 10 months ago

acelaya commented 1 year ago

Currently, the rr binary is downloaded via vendor/bin/rr get, which donloads it using GitHub's API. This API has some limits when not providing an auth token (which is the case when building a shippable docker image).

One possible solution would be to copy the binary from the official RoadRunner docker image, as documented here: https://roadrunner.dev/docs/intro-install#docker

The main problem is that this logic needs to be conditional based on the SHLINK_RUNTIME env var.

acelaya commented 1 year ago

See: