Skip to content

Commit

Permalink
ci: upgrade to node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
pikdum committed Feb 1, 2025
1 parent e67eb40 commit 724f336
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions Dockerfile.builder
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
FROM ubuntu:24.04

RUN dpkg --add-architecture i386 \
&& apt-get -qq update \
&& apt-get -qq install wget \
&& apt-get -qq install -y --no-install-recommends wget curl ca-certificates \
&& mkdir -p -m 755 /etc/apt/keyrings \
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& apt-get -qq update \
&& apt-get -qq dist-upgrade \
&& apt-get -qq dist-upgrade -y \
&& apt-get -qq install --no-install-recommends \
build-essential \
gh \
git \
nodejs \
npm \
wine \
wine32:i386 \
&& npm install -g npm@10 \
&& apt-get -qq clean \
wine32:i386

RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
&& apt-get -qq install -y --no-install-recommends nodejs \
&& npm install -g npm@11

RUN apt-get -qq clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

0 comments on commit 724f336

Please sign in to comment.