mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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
15 lines
544 B
Docker
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/
|