Skip to content

Commit bc0fabf

Browse files
committed
Revert "fix: dockerfile add tokio_unstable env"
This reverts commit 5e32691.
1 parent 5e32691 commit bc0fabf

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ RUN --mount=target=. \
1313

1414
FROM chef AS builder
1515
WORKDIR /app
16-
ENV RUSTFLAGS="--cfg tokio_unstable"
1716
COPY --from=planner /recipe.json recipe.json
1817
RUN cargo chef cook --release --recipe-path recipe.json
1918
RUN --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

2928
WORKDIR /app
30-
ENV RUSTFLAGS="--cfg tokio_unstable"
29+
3130
COPY --from=builder /app-target/release/rollup-node /bin/
3231

3332
EXPOSE 30303 30303/udp 9001 8545 8546

Dockerfile.test

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN cargo install cargo-chef --locked
88

99
FROM chef AS planner
1010
WORKDIR /app
11-
ENV RUSTFLAGS="--cfg tokio_unstable"
11+
1212
COPY . .
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

2828
FROM chef AS builder
2929
WORKDIR /app
30-
ENV RUSTFLAGS="--cfg tokio_unstable"
3130
COPY --from=planner /recipe.json recipe.json
3231
RUN --mount=type=cache,target=/usr/local/cargo/registry \
3332
--mount=type=cache,target=/usr/local/cargo/git \

0 commit comments

Comments
 (0)