chore: add python dev package

chore/add-python-circleci
Praveen Kumar 2025-01-10 12:22:41 +00:00
parent d20ba213df
commit 8966cfb3d3
No known key found for this signature in database
GPG Key ID: CB9E05780A79EA5A
2 changed files with 14 additions and 4 deletions

View File

@ -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 >>

View File

@ -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