Files
Etienne PerotandgVisor bot cb935d7512 gVisor benchmarks: Add "Ruby CI/CD experience" benchmarks.
This adds two benchmarks:

- A no-op Ruby unit test, based off the Stripe benchmark:
  https://stripe.com/blog/fast-secure-builds-choose-two
- A more serious unit test suite from Fastlane, a large Ruby
  project: https://github.com/fastlane/fastlane

PiperOrigin-RevId: 461726240
2022-07-18 15:15:25 -07:00

15 lines
544 B
Docker

FROM ruby:3.0-alpine
# Some of these dependencies are called as subprocesses by the fastlane tests.
RUN apk add --no-cache ruby ruby-dev ruby-bundler ruby-json build-base bash \
wget git unzip
RUN wget -q \
'https://github.com/fastlane/fastlane/archive/refs/tags/2.207.0.tar.gz' \
-O /tmp/fastlane.tar.gz \
&& mkdir /fastlane \
&& cd /fastlane \
&& tar xfz /tmp/fastlane.tar.gz --strip-components=1 \
&& rm /tmp/fastlane.tar.gz \
&& for i in 1 2 3; do if bundle install; then break; fi; done
COPY . /files/