Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
geoff-vball committed Nov 27, 2023
1 parent 08ce76f commit 9c724b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/abi_bindings_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.20.8"
go-version: ${{ env.GO_VERSION }}

- name: Install Foundry
run: ./scripts/install_foundry.sh
Expand Down
11 changes: 3 additions & 8 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ ARG ARCH=amd64

ARG GO_VERSION

COPY ../scripts/install_foundry.sh /scripts/install_foundry.sh

# defaults to grep running in a container.
ENV grepcmd=grep

Expand Down Expand Up @@ -38,14 +40,7 @@ ENV LANG en_US.utf8

# Install foundry from specific commit
SHELL ["/bin/bash", "-c"]
ENV FOUNDRY_VERSION v0.1.0
RUN curl -L https://raw.githubusercontent.com/ava-labs/foundry/${FOUNDRY_VERSION}/foundryup/install > /tmp/foundry-install-script && \
sed -i 's/\/ava-labs\/foundry\/master\/foundryup/\/ava-labs\/foundry\/${FOUNDRY_VERSION}\/foundryup/g' /tmp/foundry-install-script && \
cat /tmp/foundry-install-script | bash && \
echo "export PATH=\"$PATH:/$HOME/.foundry/bin\"">> ~/.bashrc && \
source ~/.bashrc && \
export PATH=$PATH:$HOME/.foundry/bin:$HOME/.cargo/bin && \
foundryup --version ${FOUNDRY_VERSION}
RUN ./scripts/install_foundry.sh

# Install python base58 decode library
RUN apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_foundry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (C) 2023, Ava Labs, Inc. All rights reserved.
# See the file LICENSE for licensing terms.

set -ex
set -e

export XDG_CONFIG_HOME=$HOME

Expand Down

0 comments on commit 9c724b1

Please sign in to comment.