diff --git a/Dockerfile b/Dockerfile index 6bce60b..f8dcef0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,9 @@ FROM solanalabs/rust:1.75.0 AS builder RUN rustup toolchain install 1.75.0 RUN rustup component add clippy --toolchain 1.75.0 WORKDIR /opt -RUN sh -c "$(curl -sSfL https://release.solana.com/stable/install)" && \ - /root/.local/share/solana/install/active_release/bin/sdk/sbf/scripts/install.sh + +RUN sh -c "$(curl -sSfL https://release.solana.com/v1.18.18/install)" && \ + /root/.local/share/solana/install/active_release/bin/sdk/sbf/scripts/install.sh ENV PATH=/root/.local/share/solana/install/active_release/bin:/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUN solana-install init 1.18.14 RUN rustup update