-
-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy path.gitpod.Dockerfile
More file actions
23 lines (16 loc) · 756 Bytes
/
.gitpod.Dockerfile
File metadata and controls
23 lines (16 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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="20" \
&& source $HOME/.nvm/nvm.sh && nvm install $VERSION \
&& nvm use $VERSION && nvm alias default $VERSION'
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.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.30.0