Skip to content

Commit

Permalink
set default AVAGO_PLUGIN_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
containerman17 committed Jan 17, 2025
1 parent 717d416 commit a728abf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ RUN export SUBNET_EVM_COMMIT=$SUBNET_EVM_COMMIT && export CURRENT_BRANCH=$CURREN
FROM $AVALANCHEGO_NODE_IMAGE AS builtImage

# Copy the evm binary into the correct location in the container
ENV AVAGO_PLUGIN_DIR=/avalanchego/build/plugins/
ARG VM_ID=srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy
COPY --from=builder /build/build/subnet-evm /avalanchego/build/plugins/$VM_ID
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,12 @@ mkdir -p ~/.avalanchego/staking; docker run -it -d \
-e AVAGO_PARTIAL_SYNC_PRIMARY_NETWORK=true \
-e AVAGO_TRACK_SUBNETS=REPLACE_THIS_WITH_YOUR_SUBNET_ID \
-e AVAGO_PUBLIC_IP_RESOLUTION_SERVICE=ifconfigme \
-e AVAGO_PLUGIN_DIR=/avalanchego/build/plugins/ \
-e HOME=/home/avalanche \
--user $(id -u):$(id -g) \
avaplatform/subnet-evm:v0.7.1
```

- `AVAGO_PARTIAL_SYNC_PRIMARY_NETWORK`: Ensures you don't sync the X and C-Chains.
- `AVAGO_PLUGIN_DIR`: Sets the directory for the `subnet-evm` plugin.
- `AVAGO_TRACK_SUBNETS`: Sets the subnet ID to track. It will track all chains in the subnet.
- `AVAGO_NETWORK_ID=fuji`: Sets the network ID to Fuji. Remove to sync Mainnet.
- `AVAGO_PUBLIC_IP_RESOLUTION_SERVICE=ifconfigme`: Required for AWS EC2 instances to be accessed from outside AWS.
Expand All @@ -168,7 +166,6 @@ mkdir -p ~/.avalanchego_rpc/staking; docker run -it -d \
-e AVAGO_HTTP_ALLOWED_HOSTS="*" \
-e AVAGO_HTTP_HOST=0.0.0.0 \
-e AVAGO_PUBLIC_IP_RESOLUTION_SERVICE=ifconfigme \
-e AVAGO_PLUGIN_DIR=/avalanchego/build/plugins/ \
-e HOME=/home/avalanche \
--user $(id -u):$(id -g) \
avaplatform/subnet-evm:v0.7.1
Expand Down

0 comments on commit a728abf

Please sign in to comment.