Skip to content

Commit

Permalink
Fix Dockerfile issue: incompatible Ruby version
Browse files Browse the repository at this point in the history
While using the provided Dockerfile an error is generated:

```
44.04 ERROR:  Error installing bundler:
44.04 	The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.4.22. Try installing it with `gem install bundler -v 2.4.22`
44.04 	bundler requires Ruby version >= 3.0.0. The current ruby version is 2.6.10.210.
```

Honouring the suggestion the image is now based on ruby:3.0-slim
  • Loading branch information
matthiou committed Feb 16, 2024
1 parent 97c8dd4 commit 30e5f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.6-slim
FROM ruby:3.0-slim

WORKDIR /srv/slate

Expand Down

0 comments on commit 30e5f60

Please sign in to comment.