File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,20 +38,12 @@ ENV RUSTUP_HOME=/home/apprunner/.rustup \
3838 CARGO_HOME=/home/apprunner/.cargo \
3939 PATH=/home/apprunner/.cargo/bin:$PATH
4040
41- # Configure npm to install globally to user directory
42- ENV NPM_CONFIG_PREFIX=/home/apprunner/.npm-global \
43- PATH=/home/apprunner/.npm-global/bin:$PATH
44-
4541# Copy list of scripts to run setup
4642COPY --chown=apprunner:apprunner ./kit/setup/bootstrap ./kit/setup/bootstrap
47- COPY --chown=apprunner:apprunner ./kit/setup/addons ./kit/setup/addons
4843
4944# Install core tools required for building WASM (same as in the main Juno repository)
5045RUN ./kit/setup/bootstrap
5146
52- # Install extra WASM build tools needed only for this GitHub Action
53- RUN ./kit/setup/addons
54-
5547# --- Runtime Stage ---
5648FROM node:24-slim@sha256:76d0ed0ed93bed4f4376211e9d8fddac4d8b3fbdb54cc45955696001a3c91152
5749
@@ -79,6 +71,10 @@ RUN DEBIAN_FRONTEND=noninteractive apt update && apt install -y \
7971COPY ./kit/setup/tools ./kit/setup/tools
8072RUN ./kit/setup/tools
8173
74+ # Install extra WASM build tools - e.g. for Sputnik - required by the GitHub Action runtime
75+ COPY ./kit/setup/addons ./kit/setup/addons
76+ RUN ./kit/setup/addons
77+
8278# Create and use a user instead of using root
8379RUN useradd -ms /bin/bash apprunner
8480USER apprunner
You can’t perform that action at this time.
0 commit comments