1
0
Fork 0
mirror of https://github.com/docker-library/ruby.git synced 2022-11-09 11:41:34 -05:00
Commit graph

20 commits

Author SHA1 Message Date
Nathan Ehresman
a564feaaee
Upgrade Ruby version 2.4.9 to 2.4.10, 2.5.7 to 2.5.8, 2.6.5 to 2.6.6, 2.7.0 to 2.7.1 (#310)
* Upgrade Ruby version 2.4.9 to 2.4.10, 2.5.7 to 2.5.8, 2.6.5 to 2.6.6, 2.7.0 to 2.7.1

* correct SHA256 hash values for the .tar.xz files

* updating Ruby version/hashes in a few missed files
2020-03-31 09:21:12 -07:00
David Rodríguez
82eecb7596
Alternative fix
Stop setting `BUNDLE_PATH`.

All default bundler versions shipped with all supported rubies install
gems to `GEM_HOME` by default, so this shouldn't be a breaking change
and it's a less surprising behavior because it does not deviate from how
bundler is configured by default.

Future versions will probably install locally by default, but that
hasn't happened yet.

I think leaving bundler "unconfigured" also matches the direction of the
recent change where the images no longer explicitly install `bundler` but
simply leave whatever version comes with ruby. Similarly, it makes sense
to me to leave whatever configuration comes by default with `bundler` in
place.
2020-01-03 18:05:39 +01:00
David Rodríguez
7df74adde3
Add paths scoped to ruby version to PATH and GEM_PATH
Newer bundler versions install gems to `$GEM_HOME/ruby/<ruby_version>`,
instead of directly to `$GEM_HOME`.

So we need to add the proper paths to `GEM_PATH` and `PATH` so that gems
and their executables are properly found.
2020-01-03 16:23:14 +01:00
David Rodríguez
8f3650c2ea
Remove unnecessary PATH modification
I don't think that folder exists :/
2020-01-03 14:31:14 +01:00
Jan van der Pas
5c9e21cbf7 Update ruby 2.6.x to 2.6.5
Mitigates the following vulnerabilities:
  - CVE-2019-16255: A code injection vulnerability of Shell#[] and
    Shell#test
  - CVE-2019-16254: HTTP response splitting in WEBrick (Additional fix)
  - CVE-2019-15845: A NUL injection vulnerability of File.fnmatch and
    File.fnmatch?
  - CVE-2019-16201: Regular Expression Denial of Service vulnerability
    of WEBrick’s Digest access authentication
2019-10-01 16:05:03 +02:00
Docker Library Bot
6a7df7a72b Update to 2.6.4 2019-08-28 11:03:17 +00:00
David Rodríguez
4e90a92eb2
Revert "Prefer BUNDLE_PATH__SYSTEM=true"
This reverts commit e040029c82.
2019-07-12 11:16:20 +02:00
David Rodríguez
e040029c82
Prefer BUNDLE_PATH__SYSTEM=true 2019-06-26 13:03:31 +02:00
Tianon Gravi
aacff43981 Add some verification that we have no "distro ruby" packages 2019-06-25 16:03:12 -07:00
Tianon Gravi
f8c8256104 Switch from "&&" to ";" and use "apt-mark showmanual"+"ldd" method for non-slim Debian too 2019-06-25 12:12:14 -07:00
Docker Library Bot
9ae0943fa2 Update to 2.6.3 2019-04-17 17:03:14 +00:00
Docker Library Bot
995719add6 Update to 2.6.2 2019-03-13 21:31:45 +00:00
Joe Ferguson
96fc06fb33 Update RubyGems to 3.0.3 on Ruby 2.6.1 2019-03-07 14:46:09 -08:00
Docker Library Bot
3e2c9f3f3c Update to 2.6.1 2019-01-30 18:03:14 +00:00
Tianon Gravi
84db4691c0 Adjust RUBYGEMS_VERSION to be fixed at either 3.0.1 or the Ruby-bundled version, whichever is newer
This also adjusts Bundler to be explicitly fixed at either 1.17.2 or the Ruby/Rubygems-bundled version, whichever is newer -- this is slightly older than what we've already pushed (1.17.3), but nothing in the changelog appears to be relevant, so this seems fine: https://github.com/bundler/bundler/compare/v1.17.2...v1.17.3#diff-4ac32a78649ca5bdd8e0ba38b7006a1e

For Ruby 2.6, this means we no longer do anything to the bundled Rubygems (or Bundler), and simply provide whatever comes with the Ruby release as-is, and it is now up to users to explicitly update if they need a newer version than is provided here.
2019-01-04 15:30:47 -08:00
Docker Library Bot
489c6d4128 Update to 2.6.0, bundler 2.0.1, rubygems 3.0.2 2019-01-04 06:03:28 +00:00
Docker Library Bot
c702439696 Update to 2.6.0, bundler 2.0.0, rubygems 3.0.2 2019-01-03 06:03:28 +00:00
Docker Library Bot
14d0ae96bc Update to 2.6.0, bundler 1.17.3, rubygems 3.0.2 2019-01-02 00:03:13 +00:00
Docker Library Bot
3c52e456a3 Update to 2.6.0, bundler 1.17.3, rubygems 3.0.1 2018-12-27 06:03:16 +00:00
booink
d4be0c416c Update to 2.6.0 (GA) 2018-12-26 14:46:03 -08:00
Renamed from 2.6-rc/stretch/Dockerfile (Browse further)