Skip to content

Commit 769b189

Browse files
fix(1.0.2): adjust cli versioning (#343)
2 parents 7485d98 + 1d58520 commit 769b189

File tree

7 files changed

+1029
-667
lines changed

7 files changed

+1029
-667
lines changed

.gitpod.Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM gitpod/workspace-full:2023-08-29-11-00-25
1+
FROM gitpod/workspace-full:2024-05-22-07-25-51
22

33
ARG REPO_NAME=solana-curriculum
44
ARG HOMEDIR=/workspace/$REPO_NAME
55

66
WORKDIR ${HOMEDIR}
77

8-
RUN bash -c 'VERSION="18" \
8+
RUN bash -c 'VERSION="20" \
99
&& source $HOME/.nvm/nvm.sh && nvm install $VERSION \
1010
&& nvm use $VERSION && nvm alias default $VERSION'
1111

@@ -14,10 +14,10 @@ RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
1414
RUN sudo apt-get update && sudo apt-get upgrade -y
1515

1616
# Solana
17-
RUN sh -c "$(curl -sSfL https://release.solana.com/v1.16.11/install)"
17+
RUN sh -c "$(curl -sSfL https://release.solana.com/v1.17.18/install)"
1818
# RUN wget https://github.com/solana-labs/solana/releases/download/v1.16.9/solana-release-x86_64-unknown-linux-gnu.tar.bz2
1919
# RUN tar jxf solana-release-x86_64-unknown-linux-gnu.tar.bz2
2020
# RUN cd solana-release/
2121
# ENV PATH="$PWD/bin:${PATH}"
2222

23-
RUN npm i -g @coral-xyz/anchor-cli@0.28.0
23+
RUN npm i -g @coral-xyz/anchor-cli@0.30.0

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> \
2828
RUN sudo apt-get install -y curl git bash-completion man-db htop nano
2929

3030
# Install Node LTS
31-
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
31+
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
3232
RUN sudo apt-get install -y nodejs
3333

3434
# Rust
@@ -37,7 +37,7 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
3737
ENV PATH="/workspace/.cargo/bin:${PATH}"
3838

3939
# Solana
40-
RUN sh -c "$(curl -sSfL https://release.solana.com/v1.16.11/install)"
40+
RUN sh -c "$(curl -sSfL https://release.solana.com/v1.17.18/install)"
4141
# RUN wget https://github.com/solana-labs/solana/releases/download/v1.16.9/solana-release-x86_64-unknown-linux-gnu.tar.bz2
4242
# RUN tar jxf solana-release-x86_64-unknown-linux-gnu.tar.bz2
4343
# RUN cd solana-release/
@@ -49,7 +49,7 @@ WORKDIR ${HOMEDIR}
4949
RUN mkdir ~/.npm-global
5050
RUN npm config set prefix '~/.npm-global'
5151

52-
RUN npm install -g yarn @coral-xyz/anchor-cli@0.28.0
52+
RUN npm install -g yarn @coral-xyz/anchor-cli@0.30.0
5353

5454
# Configure course-specific environment
5555
COPY . .

0 commit comments

Comments
 (0)