Homebrew / homebrew-portable-ruby

🚗 Versions of Ruby that can be installed and run from anywhere on the filesystem.
BSD 2-Clause "Simplified" License
129 stars 42 forks source link

How to build a portable-ruby on Linux? #168

Closed coaxial closed 1 year ago

coaxial commented 1 year ago

Instructions in the README say:

Build a Docker image for your architecture by running:

  • docker build -f Dockerfile --platform linux/amd64 -t homebrew-portable .

However, the repo doesn't seem to contain any Dockerfile. How can I build a portable-ruby version on Linux?

Bo98 commented 1 year ago

The same as macOS really - I'll adjust the README.

Historically the Dockerfile would use the oldest supported glibc (i.e. old EOL Debian), but build an older glibc is a part of the repo now.

You generally don't need to build portable Ruby yourself though.

MikeMcQuaid commented 1 year ago

Lets leave this open until the README is updated.