Skip to content

Commit 3c9aaa5

Browse files
deployment: remove .cargo copy layer
1 parent 552f441 commit 3c9aaa5

File tree

5 files changed

+0
-11
lines changed

5 files changed

+0
-11
lines changed

deployments/images/sequencer/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ RUN if [ "$BUILD_MODE" != "release" ] && [ "$BUILD_MODE" != "debug" ]; then \
2525
exit 1; \
2626
fi
2727

28-
2928
COPY --from=planner /app/recipe.json recipe.json
30-
# Copy .cargo/config.toml before cargo chef cook so llvm-sys can find LLVM
31-
COPY .cargo .cargo
3229
RUN cargo chef cook --recipe-path recipe.json
3330
COPY . .
3431

deployments/images/sequencer/dummy_eth_to_strk_oracle.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ RUN cargo chef prepare --recipe-path recipe.json
1515
FROM base AS builder
1616
WORKDIR /app
1717
COPY --from=planner /app/recipe.json recipe.json
18-
# Copy .cargo/config.toml before cargo chef cook so llvm-sys can find LLVM
19-
COPY .cargo .cargo
2018
RUN cargo chef cook --recipe-path recipe.json --bin dummy_eth_to_strk_oracle
2119
COPY . .
2220
RUN cargo build --bin dummy_eth_to_strk_oracle

deployments/images/sequencer/dummy_recorder.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ RUN cargo chef prepare --recipe-path recipe.json
1515
FROM base AS builder
1616
WORKDIR /app
1717
COPY --from=planner /app/recipe.json recipe.json
18-
# Copy .cargo/config.toml before cargo chef cook so llvm-sys can find LLVM
19-
COPY .cargo .cargo
2018
RUN cargo chef cook --recipe-path recipe.json --bin dummy_recorder
2119
COPY . .
2220
RUN cargo build --bin dummy_recorder

deployments/images/sequencer/node_setup.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ FROM base AS builder
1616
WORKDIR /app
1717
RUN curl -L https://github.com/foundry-rs/foundry/releases/download/v1.5.1/foundry_v1.5.1_linux_amd64.tar.gz | tar -xz --wildcards 'anvil'
1818
COPY --from=planner /app/recipe.json recipe.json
19-
# Copy .cargo/config.toml before cargo chef cook so llvm-sys can find LLVM
20-
COPY .cargo .cargo
2119
RUN cargo chef cook --recipe-path recipe.json --bin sequencer_node_setup
2220
COPY . .
2321
RUN cargo build --bin sequencer_node_setup

deployments/images/sequencer/simulator.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ RUN cargo chef prepare --recipe-path recipe.json
1515
FROM base AS builder
1616
WORKDIR /app
1717
COPY --from=planner /app/recipe.json recipe.json
18-
# Copy .cargo/config.toml before cargo chef cook so llvm-sys can find LLVM
19-
COPY .cargo .cargo
2018
RUN cargo chef cook --recipe-path recipe.json --bin sequencer_simulator
2119
COPY . .
2220
RUN cargo build --bin sequencer_simulator

0 commit comments

Comments
 (0)