Skip to content

Commit

Permalink
Update gitpod.Dockerfile
Browse files Browse the repository at this point in the history
 - Move to Ruby 3.3.4
 - add graphviz as a package to install as it is missing on db migration
  • Loading branch information
PeterMonsson committed Oct 9, 2024
1 parent 540fb4e commit 7e10456
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.3.1 \
RUN _ruby_version=ruby-3.3.4 \
&& 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.3.1 \
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 libvips \
&& sudo apt-get install -y redis libvips graphviz \
&& sudo rm -rf /var/lib/apt/lists/*

0 comments on commit 7e10456

Please sign in to comment.