spiral-modules / roadrunner-binary

💾 High-performance PHP application server, load-balancer and process manager written in Golang. RR2 releases repository.
MIT License
44 stars 25 forks source link

[BUG] Docker rr not found #120

Closed Yurunsoft closed 2 years ago

Yurunsoft commented 2 years ago

This problem only occurs in version > = 2.5.0

a.dockerfile:

FROM spiralscout/roadrunner:2.5.1 AS roadrunner
FROM php:8.0-cli

COPY --from=roadrunner /usr/bin/rr /usr/local/bin/rr

command:

docker build -t rrtest -f .\a.dockerfile .
docker run --rm rrtest rr -v

output:

/usr/local/bin/docker-php-entrypoint: 9: exec: rr: not found
rustatian commented 2 years ago

Hey @Yurunsoft . Thanks for the report, I'll have a look.

rustatian commented 2 years ago

@Yurunsoft Found the problem, it will be fixed in 2.5.2

rustatian commented 2 years ago

@Yurunsoft Feel free to test v2.5.2 image