Files
AnilAltinayandgVisor bot 81c625b03b Speedup Ruby test and hopefully reduce its flakiness
The Ruby test is flaky: 7 fails in 1000 runs. This CL creates the test image with the depencies ahead-of-time instead of just-in-time which brings down the test time from ~23s to below 2s.

It also adds docker logs when the test fails. This should help with debugging hard to reproduce fails.

PiperOrigin-RevId: 862091724
2026-01-28 00:33:32 -08:00

7 lines
107 B
Docker

FROM ruby:3.3.5
RUN gem install sinatra rackup puma
COPY server.rb /server.rb
CMD ["ruby", "/server.rb"]