diff options
author | Evan Read <eread@gitlab.com> | 2021-10-21 07:19:22 +0300 |
---|---|---|
committer | Russell Dickenson <rdickenson@gitlab.com> | 2021-10-21 07:19:22 +0300 |
commit | f1bc7726b29107169214e64bb51c24883e77e06d (patch) | |
tree | 9a56a9cea05a7b60df182686a56072a1abb72ca5 /.gitpod.Dockerfile | |
parent | 04bcfb6147943d7bed6572709ac8ad616442f97c (diff) |
Install Ruby 2.7.4 when using Gitpod
Diffstat (limited to '.gitpod.Dockerfile')
-rw-r--r-- | .gitpod.Dockerfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 00000000..2861e663 --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,10 @@ +FROM gitpod/workspace-full +USER gitpod + +# Install Ruby version 2.7.4 and set it as default. +# Required when the base Gitpod Docker image doesn't provide the version of Ruby we want. +# For more information, see: https://www.gitpod.io/docs/languages/ruby. + +RUN echo "rvm_gems_path=/home/gitpod/.rvm" > ~/.rvmrc +RUN bash -lc "rvm install ruby-2.7.4 && rvm use ruby-2.7.4 --default" +RUN echo "rvm_gems_path=/workspace/.rvm" > ~/.rvmrc |