diff --git a/.circleci/config.yml b/.circleci/config.yml index f89dd12e20..95559ccf39 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -75,7 +75,7 @@ commands: name: add python3 command: | sudo apt update - sudo apt install python3 + sudo apt install python3 python3-dev - run: name: Verify installed components command: | @@ -110,7 +110,7 @@ jobs: name: add python3 command: | sudo apt update - sudo apt install python3 + sudo apt install python3 python3-dev - run: name: Rust fmt command: cargo fmt --all -- --check @@ -186,6 +186,11 @@ jobs: steps: - checkout - rust_components + - run: + name: add python3 + command: | + sudo apt update + sudo apt install python3 python3-dev - run: name: Cargo doc command: cargo doc --document-private-items --no-deps --workspace @@ -216,7 +221,7 @@ jobs: name: add python3 command: | sudo apt update - sudo apt install python3 + sudo apt install python3 python3-dev - run: name: cargo nextest command: TEST_LOG= RUST_LOG=info RUST_LOG_SPAN_EVENTS=full RUST_BACKTRACE=1 cargo nextest run --workspace --failure-output immediate-final --no-fail-fast @@ -250,6 +255,11 @@ jobs: type: string steps: - checkout + - run: + name: add python3 + command: | + apt-get update + apt-get install -y python3 python3-dev - run: name: Install Target command: rustup target add << parameters.target >> diff --git a/Dockerfile b/Dockerfile index d152e280c2..ae3e7bc463 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ RUN \ FROM debian:bookworm-slim RUN apt update \ - && apt install --yes ca-certificates gettext-base libssl3 --no-install-recommends python3 \ + && apt install --yes ca-certificates gettext-base libssl3 --no-install-recommends python3 python3-dev \ && rm -rf /var/lib/{apt,dpkg,cache,log} \ && groupadd --gid 1500 influxdb3 \ && useradd --uid 1500 --gid influxdb3 --shell /bin/bash --create-home influxdb3