cloudfoundry-community / cf-containers-broker

A generic "Containers" broker for the Cloud Foundry v2 services API
Apache License 2.0
38 stars 31 forks source link

dockerfile requires newer ruby version #62

Closed drnic closed 7 years ago

drnic commented 7 years ago
$ docker build -t frodenas/cf-containers-broker .
Sending build context to Docker daemon 2.122 MB
Step 1/14 : FROM frodenas/ruby
latest: Pulling from frodenas/ruby
30d541b48fc0: Already exists
8ecd7f80d390: Already exists
46ec9927bb81: Already exists
2e67a4d67b44: Already exists
7d9dd9155488: Already exists
485933a73bf0: Pull complete
d8fbca5d31b4: Pull complete
Digest: sha256:80580b73606051ab4eb34e97f370cc5a2f0da5554d3925e8890d4248f4258da6
Status: Downloaded newer image for frodenas/ruby:latest
 ---> d858d1f84c3b
Step 2/14 : MAINTAINER Ferran Rodenas <frodenas@gmail.com>
 ---> Running in 48605f5b9e7a
 ---> 411b5601f384
Removing intermediate container 48605f5b9e7a
Step 3/14 : ADD . /app
 ---> f95e64dedb0f
Removing intermediate container b778e6875ddd
Step 4/14 : RUN cd /app &&     bundle package --all &&     RAILS_ENV=assets bundle exec rake assets:precompile &&     rm -rf spec &&     mkdir /config
 ---> Running in 75b017b0e99a
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Fetching https://github.com/cloudfoundry/omniauth-uaa-oauth2
listen-3.1.5 requires ruby version >= 2.2.3, which is incompatible with the
current version, ruby 2.1.2p95
The command '/bin/sh -c cd /app &&     bundle package --all &&     RAILS_ENV=assets bundle exec rake assets:precompile &&     rm -rf spec &&     mkdir /config' returned a non-zero code: 5