Skip to content

Commit 2e54a96

Browse files
authored
simulators/ethereum/eest: Add branch buildarg (#1192)
1 parent 6ba7397 commit 2e54a96

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

simulators/ethereum/eest/consume-engine/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ FROM python:3.10-slim
44
## Default fixtures
55
ARG fixtures=latest-stable-release
66
ENV INPUT=${fixtures}
7+
ARG branch=main
8+
ENV BRANCH=${branch}
79

810
## Install dependencies
911
RUN apt-get update && \
@@ -12,7 +14,7 @@ RUN apt-get update && \
1214
rm -rf /var/lib/apt/lists/*
1315

1416
## Clone and install EEST
15-
RUN git clone https://github.com/ethereum/execution-spec-tests.git --branch main --single-branch --depth 1
17+
RUN git clone https://github.com/ethereum/execution-spec-tests.git --branch "$BRANCH" --single-branch --depth 1
1618
WORKDIR execution-spec-tests
1719
RUN pip install uv && uv sync
1820

simulators/ethereum/eest/consume-rlp/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ FROM python:3.10-slim
44
## Default fixtures
55
ARG fixtures=latest-stable-release
66
ENV INPUT=${fixtures}
7+
ARG branch=main
8+
ENV BRANCH=${branch}
79

810
## Install dependencies
911
RUN apt-get update && \
@@ -12,7 +14,7 @@ RUN apt-get update && \
1214
rm -rf /var/lib/apt/lists/*
1315

1416
## Clone and install EEST
15-
RUN git clone https://github.com/ethereum/execution-spec-tests.git --branch main --single-branch --depth 1
17+
RUN git clone https://github.com/ethereum/execution-spec-tests.git --branch "$BRANCH" --single-branch --depth 1
1618
WORKDIR execution-spec-tests
1719
RUN pip install uv && uv sync
1820

0 commit comments

Comments
 (0)