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

Dockerfile fails to build #92

Closed
sattlerc opened this issue Oct 25, 2022 · 1 comment
Closed

Dockerfile fails to build #92

sattlerc opened this issue Oct 25, 2022 · 1 comment

Comments

@sattlerc
Copy link
Contributor

(Extracted from here.)

Build log:

Sending build context to Docker daemon  138.7MB
Step 1/9 : FROM ruby:2.3
 ---> c0d23ebb3ed6
Step 2/9 : RUN apt-get update -y && apt-get install -y     rake rubygems ruby-sqlite3 libxslt-dev libxml2-dev libsqlite3-dev swig flex bison     && rm -rf /var/lib/apt/lists/* &&     gem update --system && gem update
 ---> Using cache
 ---> 719e22e205e8
Step 3/9 : RUN mkdir -p /usr/src/app
 ---> Using cache
 ---> 345d7f71afc2
Step 4/9 : WORKDIR /usr/src/app
 ---> Using cache
 ---> 83a1116cda6f
Step 5/9 : COPY Gemfile /usr/src/app/
 ---> 39bfb8d8a993
Step 6/9 : RUN bundle install
 ---> Running in b17dea5a2a7c
Fetching https://github.com/distler/maruku.git
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Bundler found conflicting requirements for the Ruby version:
  In Gemfile:
    rubyzip (~> 2.3.0) was resolved to 2.3.2, which depends on
      Ruby (>= 2.4)

  Current Ruby version:
    Ruby (= 2.3.8)
The command '/bin/sh -c bundle install' returned a non-zero code: 6

I was able to build after changing ruby:2.3 to ruby:2.6.

@distler
Copy link
Collaborator

distler commented Nov 30, 2022

Thanks!

@distler distler closed this as completed Nov 30, 2022
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