File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ RUN --mount=target=. \
1313
1414FROM chef AS builder
1515WORKDIR /app
16- ENV RUSTFLAGS="--cfg tokio_unstable"
1716COPY --from=planner /recipe.json recipe.json
1817RUN cargo chef cook --release --recipe-path recipe.json
1918RUN --mount=target=. \
@@ -27,7 +26,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates
2726 rm -rf /var/lib/apt/lists/*
2827
2928WORKDIR /app
30- ENV RUSTFLAGS= "--cfg tokio_unstable"
29+
3130COPY --from=builder /app-target/release/rollup-node /bin/
3231
3332EXPOSE 30303 30303/udp 9001 8545 8546
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN cargo install cargo-chef --locked
88
99FROM chef AS planner
1010WORKDIR /app
11- ENV RUSTFLAGS="--cfg tokio_unstable"
11+
1212COPY . .
1313# Hacky: Replace tests with dummy stub to avoid workspace member issues of top-level Cargo.toml.
1414# This is needed because within the Docker integration tests we don't need the tests crate
@@ -27,7 +27,6 @@ RUN cargo chef prepare --recipe-path /recipe.json
2727
2828FROM chef AS builder
2929WORKDIR /app
30- ENV RUSTFLAGS="--cfg tokio_unstable"
3130COPY --from=planner /recipe.json recipe.json
3231RUN --mount=type=cache,target=/usr/local/cargo/registry \
3332 --mount=type=cache,target=/usr/local/cargo/git \
You can’t perform that action at this time.
0 commit comments