diff options
author | Evan Read <eread@gitlab.com> | 2022-05-11 20:23:57 +0300 |
---|---|---|
committer | Sarah German <sgerman@gitlab.com> | 2022-05-11 20:23:57 +0300 |
commit | d28edc1a4c767239e8662d78b14c49544a57ce7f (patch) | |
tree | 93d728b97949375001056d719e25c0361c29bc41 /.gitpod.Dockerfile | |
parent | 4227f3090cfa7c0dc2397bef6941165227937d6c (diff) |
Add Lefthook to project
Diffstat (limited to '.gitpod.Dockerfile')
-rw-r--r-- | .gitpod.Dockerfile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index d452c459..2427a362 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -1,10 +1,10 @@ -FROM gitpod/workspace-full +FROM gitpod/workspace-full:2022-05-08-14-31-53 USER gitpod # Install Ruby version 2.7.5 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.5 && rvm use ruby-2.7.5 --default" -RUN echo "rvm_gems_path=/workspace/.rvm" > ~/.rvmrc +RUN echo "rvm_gems_path=/home/gitpod/.rvm" > ~/.rvmrc \ + && bash -lc "rvm install ruby-2.7.5 && rvm use ruby-2.7.5 --default" \ + && echo "rvm_gems_path=/workspace/.rvm" > ~/.rvmrc |