Skip to content

Commit

Permalink
Update Gitpod Dockerfile (#1125)
Browse files Browse the repository at this point in the history
* Use Ruby 3.2.2 in gitpod.Dockerfile

* Install libipvs in Gitpods
  • Loading branch information
AikedeJongste authored Nov 1, 2023
1 parent 4275e17 commit d662d35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM gitpod/workspace-postgres
USER gitpod

RUN _ruby_version=ruby-3.2.0 \
RUN _ruby_version=ruby-3.2.2 \
&& printf "rvm_gems_path=/home/gitpod/.rvm\n" > ~/.rvmrc \
&& bash -lc "rvm reinstall ruby-${_ruby_version} && rvm use ruby-${_ruby_version} --default && gem install rails" \
&& printf "rvm_gems_path=/workspace/.rvm" > ~/.rvmrc \
Expand All @@ -11,5 +11,5 @@ RUN _ruby_version=ruby-3.2.0 \
RUN curl https://packages.redis.io/gpg | sudo apt-key add - \
&& echo "deb https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list \
&& sudo apt-get update \
&& sudo apt-get install -y redis \
&& sudo apt-get install -y redis libvips \
&& sudo rm -rf /var/lib/apt/lists/*

0 comments on commit d662d35

Please sign in to comment.