Skip to content

Commit

Permalink
fix(1.0.2): adjust cli versioning (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunSHamilton authored May 22, 2024
2 parents 7485d98 + 1d58520 commit 769b189
Show file tree
Hide file tree
Showing 7 changed files with 1,029 additions and 667 deletions.
8 changes: 4 additions & 4 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM gitpod/workspace-full:2023-08-29-11-00-25
FROM gitpod/workspace-full:2024-05-22-07-25-51

ARG REPO_NAME=solana-curriculum
ARG HOMEDIR=/workspace/$REPO_NAME

WORKDIR ${HOMEDIR}

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

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

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

RUN npm i -g @coral-xyz/anchor-cli@0.28.0
RUN npm i -g @coral-xyz/anchor-cli@0.30.0
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> \
RUN sudo apt-get install -y curl git bash-completion man-db htop nano

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

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

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

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

# Configure course-specific environment
COPY . .
Expand Down
Loading

0 comments on commit 769b189

Please sign in to comment.