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

fix(CI): use rustup 1.27.1 for docker build #532

Merged
merged 2 commits into from
Mar 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ ENV PATH=$CARGO_HOME/bin:$PATH
ENV PATH=$FNM_DIR/bin:$PATH
# Install Rust and the Node.js version manager
COPY rust-toolchain.toml .
RUN curl -fsSL https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path && \
curl -fsSL https://fnm.vercel.app/install | bash -s -- --install-dir $FNM_DIR/bin --skip-shell
RUN curl -O https://static.rust-lang.org/rustup/archive/1.27.1/x86_64-unknown-linux-gnu/rustup-init && chmod +x rustup-init && ./rustup-init -y
RUN curl -fsSL https://fnm.vercel.app/install | bash -s -- --install-dir $FNM_DIR/bin --skip-shell
# Add the fnm env var envaluation to the bashrc to enable it in bash by default
RUN echo "eval \"$(fnm env)\"" >> $HOME/.bashrc
# Add expected node version file and root package.json with expected pnpm version
Expand Down
Loading