Skip to content

update from fork #10

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

Open
wants to merge 194 commits into
base: master
Choose a base branch
from
Open

update from fork #10

wants to merge 194 commits into from

Conversation

uuunk
Copy link

@uuunk uuunk commented Oct 25, 2021

No description provided.

nehresma and others added 30 commits March 31, 2020 09:21
… 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
Ruby docker images officially provided by ruby-lang.org set `LANG` as `C.UTF-8` by default.

https://hub.docker.com/r/rubylang/ruby/

https://github.com/ruby/ruby-docker-images/blob/36c5d8b68eb91e34825500e50ca677f5574401f7/Dockerfile#L3

#45 (comment)

> I'd rather see something more official from either Ruby or Rails upstreams
> recommending a UTF-8 locale by default than just the anecdote that it's
> "more common" or "more convenient".

I think it's the one so we should set it by default.
Ruby 3.0.0 is released
Update generate-stackbrew-library.sh for Ruby 3.0
Only two versions of alpine are supported at a time
[security] Update to 3.0.1, 2.7.3, 2.6.7, 2.5.9
https://www.ruby-lang.org/en/downloads/branches/

https://www.ruby-lang.org/en/news/2021/04/05/ruby-2-5-9-released/

> After this release, Ruby 2.5 reaches EOL. In other words, this is the last release of Ruby 2.5 series. We will not release Ruby 2.5.10 even if a security vulnerability is found. We recommend all Ruby 2.5 users to upgrade to Ruby 3.0, 2.7 or 2.6 immediately.
Also add "g++" during compilation (the upstream configure script looks for it, even though it doesn't appear to be used).
Add initial jq-based templating engine
tianon and others added 30 commits December 13, 2024 15:02
This makes it print out a diff when there is an error (instead of just a list of files that are wrong), which will make the error more obvious.  I also added `workflow_dispatch` so we can run it manually.
These were never intended to be part of the "interface" of the `slim` and `alpine` images -- they were included before we had fancy `ldd`/`scanelf`-based runtime dependency inclusion, and were a metapackage that helped us avoid the complexity of `libyaml3` vs `libyaml4` (and making sure we install the correct one).  This moves them to explicit build-time dependencies accordingly, as they should've always been.
This is a redo of #478, now that there are no
compilation issues for some platforms anymore.
See https://bugs.ruby-lang.org/issues/20506
Remove runtime dependencies from slim and alpine variants
This reverts commit 7f078b1.

It looks like this change is too disruptive. For example, modern rails apps all depend in `psych` which requires libyaml.

I still think it makes sense, but should probably only be part of the next Ruby version so it doesn't suddently break for lots of people.
This adjusts the backwards-compatibility shim to be easier to remove in the future (and automatically removes it at each next minor release).
Revert "Remove runtime dependencies from slim and alpine variants"
Since Ruby 2.7, this warning is not emitted anymore
It was removed as part of https://bugs.ruby-lang.org/issues/16131

Here's the output of running `ENV['PATH']` against various ruby versions,
when `$PATH` contains a world-writable folder:

```
===============1.8.7-p374================
-e:1: warning: Insecure world writable dir /app/whatever in PATH, mode 040757
===============1.9.3-p551================
-e:1: warning: Insecure world writable dir /app/whatever in PATH, mode 040757
===============2.0.0-p648================
-e:1: warning: Insecure world writable dir /app/whatever in PATH, mode 040757
=================2.1.10==================
-e:1: warning: Insecure world writable dir /app/whatever in PATH, mode 040757
=================2.2.10==================
-e:1: warning: Insecure world writable dir /app/whatever in PATH, mode 040757
==================2.3.8==================
-e:1: warning: Insecure world writable dir /app/whatever in PATH, mode 040757
=================2.4.10==================
-e:1: warning: Insecure world writable dir /app/whatever in PATH, mode 040757
==================2.5.9==================
-e:1: warning: Insecure world writable dir /app/whatever in PATH, mode 040757
=================2.6.10==================
-e:1: warning: Insecure world writable dir /app/whatever in PATH, mode 040757
==================2.7.8==================
==================3.0.7==================
==================3.1.6==================
==================3.2.6==================
==================3.3.6==================
================3.4.0-rc1================
```

In https://bugs.ruby-lang.org/issues/20971, it was OKed to officially deprecate
since not emitting this was unintentional at the time
None of these specific versions are build anymroe
Ruby 3.1.7 was released, which will be the last version.
https://www.ruby-lang.org/en/news/2025/03/26/ruby-3-1-7-released/
All versions are build with rust, so it is always present
Add Alpine 3.22 (remove Alpine 3.20)
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

Successfully merging this pull request may close these issues.