Skip to content

Commit 86a4655

Browse files
committed
apply suggetions
1 parent 62e68bd commit 86a4655

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424
### Changes
2525

2626
- Store pending blocks separately from executed blocks key. [#3073](https://github.com/evstack/ev-node/pull/3073)
27-
- **BREAKING:** Docker images for `evm`, `testapp`, and `local-da` now run as non-root user `ev-node` (uid 1000) instead of `root`. Existing volumes or bind mounts with root-owned files may require a `chown` to uid 1000. See the [migration guide](https://ev.xyz/guides/migrate-docker-nonroot).
27+
- **BREAKING:** Docker images for `evm`, `testapp`, and `local-da` now run as non-root user `ev-node` (uid 1000) instead of `root`. Existing volumes or bind mounts with root-owned files may require a `chown` to uid 1000. See the [migration guide](https://ev.xyz/guides/migrate-docker-nonroot). [`#3082`](https://github.com/evstack/ev-node/pull/3082)
2828
- Fixes issues with force inclusion verification on sync nodes. [#3057](https://github.com/evstack/ev-node/pull/3057)
2929
- Add flag to `local-da` to produce empty DA blocks (closer to the real system). [#3057](https://github.com/evstack/ev-node/pull/3057)
3030
- Validate P2P DA height hints against the latest known DA height to prevent malicious peers from triggering runaway catchup . [#3128](https://github.com/evstack/ev-node/pull/3128)

apps/evm/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ RUN go mod tidy && CGO_ENABLED=0 GOOS=linux go build -o evm .
1414

1515
FROM alpine:3.22.2
1616

17+
ENV HOME=/home/ev-node
18+
1719
#hadolint ignore=DL3018
1820
RUN apk --no-cache add ca-certificates curl
1921

2022
RUN addgroup -g 1000 ev-node && \
21-
adduser -u 1000 -G ev-node -s /bin/sh -D ev-node
23+
adduser -u 1000 -G ev-node -s /bin/sh ev-node
2224

2325
WORKDIR /home/ev-node
2426

apps/evm/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
volumes:
1515
- ./chain:/root/chain:ro
1616
- ./jwttoken:/root/jwt:ro
17-
- reth:/home/reth/eth-home
17+
- ev-reth-data:/home/reth/eth-home
1818
entrypoint: /bin/sh -c
1919
command:
2020
- |
@@ -61,7 +61,7 @@ services:
6161
- "7676:7676" # p2p
6262
- "7331:7331" # rpc
6363
volumes:
64-
- evm-single-data:/root/.evm/
64+
- ev-node-evm-data:/home/ev-node/.evm/
6565
restart: always
6666
entrypoint: /usr/bin/entrypoint.sh
6767
command: start
@@ -79,8 +79,8 @@ services:
7979
- evolve-network
8080

8181
volumes:
82-
evm-single-data:
83-
reth:
82+
ev-node-evm-data:
83+
ev-reth-data:
8484

8585
networks:
8686
evolve-network:

0 commit comments

Comments
 (0)