Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container image not buildable #317

Open
Nosmoht opened this issue Mar 7, 2022 · 1 comment
Open

Container image not buildable #317

Nosmoht opened this issue Mar 7, 2022 · 1 comment

Comments

@Nosmoht
Copy link

Nosmoht commented Mar 7, 2022

Hi all,

i just checked out the code and tried to build the container image using

$ docker build -t doorkeeper .

First issue i ran into:

#8 0.596 Warning: the running version of Bundler (2.0.1) is older than the version that created the lockfile (2.2.21). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.

After changing Dockerfile from

RUN gem install bundler:2.0.1

to

RUN gem install bundler:2.2.21

i could get rig of the warning but ran into the next issue:

#10 0.525 Your Ruby version is 2.6.5, but your Gemfile specified 3.1.0

So i finally change Dockerfile from

FROM ruby:2.6.5

to

FROM ruby:3.1.0

to get a successful build.

If you agree i'll send a PR to fix this.

Kind regards

@Nosmoht Nosmoht changed the title Dockerfile out of date Container image not buildable Mar 7, 2022
@hagaivcita
Copy link

quite needed since the dockerfile is outdated (both ruby and bundler are not inline with Gemfile)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants