File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ ENV AVALANCHEGO_PLUGIN_PATH=$GOPATH/src/github.com/ava-labs/avalanchego/build/pl
88# Download AvalancheGo Binary
99WORKDIR /
1010COPY ./scripts/versions.sh /
11- COPY ./.devcontainer/install .sh /
11+ COPY ./.devcontainer/install_avalanchego .sh /
1212
1313ENV AVALANCHEGO_EXEC_PATH=/avalanchego
1414
15- RUN bash -c "source ./install .sh"
15+ RUN bash -c "source ./install_avalanchego .sh"
1616
1717# Install Node.js and npm using the official Node.js image
1818RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs
Original file line number Diff line number Diff line change 11#! /bin/bash
22# Pulls latest pre-built node binary from GitHub
3- # Context of container, NOT local workspace
43
54# stop on errors
65set -e
6059 exit
6160fi
6261
62+ # Define architecture
6363foundArch=" $( uname -m) "
6464
6565if [ " $foundArch " = " aarch64" ]; then
8080
8181# Import environment variables
8282source ./versions.sh
83- echo $AVALANCHEGO_VERSION
84- echo $getArch
85- echo " PRINTED AGO VERSION!"
8683
8784# Download AvalancheGo binary
88- echo " https://github.com/ava-labs/avalanchego/releases/download/$AVALANCHEGO_VERSION /avalanchego-linux-$getArch -$AVALANCHEGO_VERSION .tar.gz"
8985curl -LJ -o avalanchego.tar.gz " https://github.com/ava-labs/avalanchego/releases/download/$AVALANCHEGO_VERSION /avalanchego-linux-$getArch -$AVALANCHEGO_VERSION .tar.gz"
90- echo " DOWNLOADED TAR FILE"
9186tar -xzf avalanchego.tar.gz --wildcards ' */avalanchego' --strip-components=1 -C /avalanchego
92- echo " TARRED THE FILE!"
9387rm avalanchego.tar.gz
You can’t perform that action at this time.
0 commit comments