Skip to content

Commit

Permalink
Future proof conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Oct 23, 2024
1 parent d101e86 commit 8253eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ood_packaging/build_box/docker-image/Dockerfile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 ! ['noble', 'bookworm'].include?(codename) && arch != 'ppc64le' %>
<% if ['focal', 'jammy'].include?(codename) && arch != 'ppc64le' %>
RUN echo "deb https://deb.nodesource.com/node_<%= nodejs_version %>.x nodistro main" > /etc/apt/sources.list.d/nodesource.list
RUN curl -s https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor > /etc/apt/trusted.gpg.d/nodesource.gpg
<% end %>
Expand Down

0 comments on commit 8253eb4

Please sign in to comment.