You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN curl "https://sh.rustup.rs" -sfo rustup.sh && \
42
-
sh rustup.sh -y && \
43
-
rustup component add rustfmt clippy
44
-
45
-
# Install node / npm / yarn.
46
-
RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash - \
47
-
&& apt-get install -y nodejs \
48
-
&& apt-get install -y npm \
49
-
&& npm install -g yarn ts-mocha typescript mocha
50
-
51
-
# Install Solana tools (x86_64 version).
52
-
RUN curl -sSfL https://github.com/solana-labs/solana/releases/download/v${SOLANA_CLI}/solana-release-x86_64-unknown-linux-gnu.tar.bz2 | tar -xjC /tmp && \
53
-
mv /tmp/solana-release/bin/* /usr/local/bin/ && \
54
-
rm -rf /tmp/solana-release
55
-
56
-
# Install anchor.
57
-
RUN cargo install --git https://github.com/coral-xyz/anchor --tag v${ANCHOR_CLI} anchor-cli --locked
58
-
59
-
# Switch to the non-root user for the remaining setup
0 commit comments