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

Do not put NodeJS repo into Ubuntu 24.04 build image #281

Merged
merged 2 commits into from
Oct 23, 2024
Merged

Conversation

treydock
Copy link
Collaborator

Fixes #280

@@ -32,7 +32,7 @@ RUN apt update -y && apt install -y apt-transport-https ca-certificates \
init debhelper devscripts dh-make build-essential apt-cudf lintian equivs \
sudo rake wget curl ruby bundler && \
apt clean all -y
<% if ! ['bookworm'].include?(codename) && arch != 'ppc64le' %>
<% if ! ['noble', 'bookworm'].include?(codename) && arch != 'ppc64le' %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like it's more future resistant to just have codename == 'bookworm'? I mean won't this break/need updating when 26.04 comes out?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Errr sorry, I'm getting turned around codename == jammy? I can't recall the 22 & 20 codenames, but it seems like it should check for those so that future releases won't need this update.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya, actually should probably do like:

if ['focal', 'jammy'].include?(codename) && arch != 'ppc64le'

This assumes that the older Ubuntu releases will be last Debian/Ubuntu releases with ancient OS NodeJS

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also FYI, codenames we support:

CODENAMES = {
'ubuntu-20.04' => 'focal',
'ubuntu-22.04' => 'jammy',
'ubuntu-24.04' => 'noble',
'debian-12' => 'bookworm'
}.freeze

@treydock treydock merged commit f777543 into main Oct 23, 2024
115 checks passed
@treydock treydock deleted the ubuntu24-fix branch October 23, 2024 14:26
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.

Wrong nodejs in Ubuntu 24 buildbox
2 participants