diff --git a/Dockerfile b/Dockerfile index 8ad4688c8..2cd2d4d4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,33 +15,6 @@ COPY . . RUN --mount=type=secret,id=aws,target=/root/.aws/credentials \ cargo build --release --no-default-features --features=${FEATURES} -FROM base AS test -RUN --mount=type=secret,id=aws,target=/root/.aws/credentials \ - cargo install cargo-nextest --locked -COPY . . -# topos-sequencer integration tests require specific setup, so excluding them here. They are executed -# with sequencer_tcc_test.yml CI setup -RUN --mount=type=secret,id=aws,target=/root/.aws/credentials \ - cargo nextest run --workspace --exclude topos-sequencer-subnet-runtime-proxy --config-file tools/config/nextest.toml && cargo test --doc --workspace - -FROM base AS fmt -RUN rustup component add rustfmt -COPY . . -RUN cargo fmt --all -- --check - -FROM base AS lint -RUN rustup default 1.68.0 -RUN rustup component add clippy -COPY . . -RUN --mount=type=secret,id=aws,target=/root/.aws/credentials \ - cargo clippy --all --tests - -FROM base AS audit -RUN --mount=type=secret,id=aws,target=/root/.aws/credentials \ - cargo install cargo-audit --locked -COPY . . -RUN cargo audit - FROM debian:bullseye-slim AS topos ENV TCE_PORT=9090