We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fac6e1c commit ece698cCopy full SHA for ece698c
.devcontainer/docker-compose.yml
@@ -3,6 +3,8 @@ services:
3
container_name: contracts-dev
4
image: mcr.microsoft.com/devcontainers/base:debian
5
command: ["sleep", "infinity"]
6
+ env_file:
7
+ - /opt/configs/graphprotocol/contracts/.env
8
volumes:
9
- npms-cache:/root/.npm
10
- /git:/git
.devcontainer/setup.sh
@@ -4,3 +4,13 @@ set -e
cd "$(dirname "$0")/.."
echo "Installing packages..."
+corepack enable
+
+curl -L https://foundry.paradigm.xyz | bash
11
+# Dynamically determine the home directory of the current user
12
+USER_HOME=$(eval echo ~"$USER")
13
14
+# Source the user's .bashrc and run foundryup
15
+# source "$USER_HOME/.bashrc"
16
+"$USER_HOME/.foundry/bin/foundryup"
0 commit comments