File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,13 @@ RUN $CARGO_HOME/bin/rustup target add \
4343 i686-linux-android \
4444 x86_64-linux-android
4545
46- # Install a Node.js runtime (e.g., Bun, or use Node/NPM if preferred)
47- # Replace this section with your preferred runtime installation (npm, yarn, pnpm)
48- RUN curl -fsSL https://bun.sh/install | bash
49- ENV PATH="/root/.bun/bin:$PATH"
46+ # Install Node.js 22 LTS and Yarn (global)
47+ # Use NodeSource for up-to-date Node on Debian; then install Yarn 1.x globally
48+ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
49+ && apt-get update \
50+ && apt-get install -y --no-install-recommends nodejs \
51+ 52+ && rm -rf /var/lib/apt/lists/*
5053
5154# --- Install Android SDK/NDK ---
5255# Download the Android SDK command line tools
You can’t perform that action at this time.
0 commit comments