Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The Dockerfile does not work currently. Because the ruby-onbuild image does not work with a gemspec. See docker-library/ruby#22
Solution
Use ruby (without "onbuild") image instead.
The
Dockerfile
inheritsruby:2.4.3
, and the file content basesruby-onbuild
.https://github.com/docker-library/ruby/blob/a6918175fd506b46bf2d8f899f4faa40e72296fb/2.3/jessie/onbuild/Dockerfile
In the
Dockerfile
, it copies app files into a docker container beforebundle install
to avoid the problem.Note
This change updates Ruby version from 2.3.0 to 2.4.3. I guess 2.4.3 is latest supported version (See https://github.com/geminabox/geminabox/blob/50e0253478b16fa8cc4ea5f88359447ede022869/.travis.yml ).