Skip to content

Commit

Permalink
Merge pull request #85 from faberNovel/feature/update_ruby_versions
Browse files Browse the repository at this point in the history
Feature/update ruby versions
  • Loading branch information
vincentbrison authored Aug 3, 2020
2 parents 059804f + a6dc70a commit a3384fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,14 @@ ENV PATH "$PATH:$RBENV_ROOT/shims"
RUN mkdir -p "$RBENV_ROOT"/plugins
RUN git clone https://github.com/rbenv/ruby-build.git "$RBENV_ROOT"/plugins/ruby-build

# Install default ruby env
# Install ruby envs
RUN echo “install: --no-document” > ~/.gemrc
ENV RUBY_CONFIGURE_OPTS=--disable-install-doc
RUN rbenv install 2.7.0
RUN rbenv global 2.7.0
RUN rbenv install 2.7.1
RUN rbenv install 2.6.6

# Setup default ruby env
RUN rbenv global 2.7.1
RUN gem install bundler:2.1.4

# Install Google Cloud CLI
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Docker allows you to provide a replicable environment, which does not change wit
It should work out of the box on any CI/CD service providing docker support.
The image is providing standard tools to build and test Android application:
* Android SDK (optionally Android NDK)
* Default Ruby env through [rbenv](https://github.com/rbenv/rbenv) (for [Fastlane](https://fastlane.tools/) for instance)
* [Fastlane first class support](https://github.com/faberNovel/docker-android#fastlane-first-class-support)
* Java JDK
* Google Cloud CLI, to support [Firebase Test Lab](https://firebase.google.com/docs/test-lab)

Expand All @@ -25,6 +25,7 @@ The image is providing standard tools to build and test Android application:

## Fastlane first-class support
Images are built to have first class support for Fastlane.
Ruby versions in [`normal maintenance`](https://www.ruby-lang.org/en/downloads/branches/) mode are installed using [rbenv](https://github.com/rbenv/rbenv).
If you are using a Fastlane plugin which requires a native library:
- Install it using `apt-get update && apt-get -y install <lib>` in your
CI workflow.
Expand Down

0 comments on commit a3384fe

Please sign in to comment.