.gitpod.Dockerfile 384 B

12345678
  1. FROM gitpod/workspace-postgres
  2. USER gitpod
  3. # Install the Ruby version specified in '.ruby-version'
  4. COPY --chown=gitpod:gitpod .ruby-version /tmp
  5. RUN echo "rvm_gems_path=/home/gitpod/.rvm" > ~/.rvmrc
  6. RUN bash -lc "rvm reinstall ruby-$(cat /tmp/.ruby-version) && rvm use ruby-$(cat /tmp/.ruby-version) --default && gem install rails"
  7. RUN echo "rvm_gems_path=/workspace/.rvm" > ~/.rvmrc