Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use build-arg to set rubygems version
Fixes mismatch between expected gem version and installed gem version. As of now installed version of gem in prod is `3.0.3`, when we expect it to be 2.6.10. In Dockerfile in we were copying `/usr/local/bin/gem`, which is just a loader and doesn't decide rubygems version. Copying `/usr/local/lib/ruby/2.6.0/rubygem` from builder would most likely work but this seems unconventional and doesn't really save as much build time.
- Loading branch information
1 parent
65c4f4b
commit 2b3aa04
Showing
4 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters