Skip to content
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

Add almalinux-devtoolset11 image #38

Merged
merged 3 commits into from
Oct 20, 2024
Merged

Add almalinux-devtoolset11 image #38

merged 3 commits into from
Oct 20, 2024

Conversation

vweevers
Copy link
Member

@vweevers vweevers commented Oct 20, 2024

As alternative to centos7-devtoolset7 which:

  • No longer builds (because mirrorlist.centos.org is offline)
  • Doesn't support Node.js >= 18
  • Doesn't support C++ 20
  • Ships an EOL python version (3.6.8) which doesn't work with node-gyp 10

Ref: prebuild/prebuildify-cross#13
Ref: Level/classic-level#103 (comment)

As alternative to centos7-devtoolset7 which:

- No longer builds (because mirrorlist.centos.org is offline)
- Doesn't support Node.js >= 18
- Doesn't support C++ 20.

Ref: prebuild/prebuildify-cross#13
Ref: Level/classic-level#103 (comment)
@vweevers
Copy link
Member Author

@vweevers
Copy link
Member Author

@vweevers
Copy link
Member Author

That's better:

> Run docker run --rm prebuild/almalinux-devtoolset11:dev node -v
  docker run --rm prebuild/almalinux-devtoolset11:dev node -v
  docker run --rm prebuild/almalinux-devtoolset11:dev npm -v
  docker run --rm prebuild/almalinux-devtoolset11:dev npx -v
  docker run --rm prebuild/almalinux-devtoolset11:dev python --version
  docker run --rm prebuild/almalinux-devtoolset11:dev npm ls node-gyp -g
  shell: /usr/bin/bash -e {0}
v18.20.4
10.7.0
10.7.0
Python 3.11.9
/usr/lib
`-- [email protected]
  +-- @npmcli/[email protected]
  | `-- [email protected] deduped
  `-- [email protected]

@vweevers vweevers merged commit 7754d8b into master Oct 20, 2024
10 checks passed
@vweevers vweevers deleted the almalinux branch October 20, 2024 22:57
vweevers added a commit to Level/classic-level that referenced this pull request Oct 20, 2024
Which means classic-level now requires glibc 2.28 (same as Node.js
18) instead of glibc 2.17.

Ref: prebuild/docker-images#38
vweevers added a commit that referenced this pull request Oct 20, 2024
Because node-gyp prefers `python3` (which would be 3.6.8) over
`python`. Now they point to the same version (3.11).

Follow-up for #38.

Category: fix
vweevers added a commit to Level/classic-level that referenced this pull request Oct 20, 2024
Which means classic-level now requires glibc 2.28 (same as Node.js
18) instead of glibc 2.17.

Ref: prebuild/docker-images#38
vweevers added a commit to Level/classic-level that referenced this pull request Oct 20, 2024
Which means classic-level now requires glibc 2.28 (same as Node.js
18) instead of glibc 2.17. Would be a breaking change if an earlier
commit didn't already drop support of Node.js < 18.

Ref: prebuild/docker-images#38
Category: change
vweevers added a commit to Level/classic-level that referenced this pull request Oct 20, 2024
Which means classic-level now requires glibc 2.28 (same as Node.js
18) instead of glibc 2.17. Would be a breaking change if an earlier
commit didn't already drop support of Node.js < 18.

Ref: prebuild/docker-images#38
Category: change
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.

1 participant