chore: add python dev package
parent
d20ba213df
commit
8966cfb3d3
|
@ -75,7 +75,7 @@ commands:
|
||||||
name: add python3
|
name: add python3
|
||||||
command: |
|
command: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install python3
|
sudo apt install python3 python3-dev
|
||||||
- run:
|
- run:
|
||||||
name: Verify installed components
|
name: Verify installed components
|
||||||
command: |
|
command: |
|
||||||
|
@ -110,7 +110,7 @@ jobs:
|
||||||
name: add python3
|
name: add python3
|
||||||
command: |
|
command: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install python3
|
sudo apt install python3 python3-dev
|
||||||
- run:
|
- run:
|
||||||
name: Rust fmt
|
name: Rust fmt
|
||||||
command: cargo fmt --all -- --check
|
command: cargo fmt --all -- --check
|
||||||
|
@ -186,6 +186,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- rust_components
|
- rust_components
|
||||||
|
- run:
|
||||||
|
name: add python3
|
||||||
|
command: |
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install python3 python3-dev
|
||||||
- run:
|
- run:
|
||||||
name: Cargo doc
|
name: Cargo doc
|
||||||
command: cargo doc --document-private-items --no-deps --workspace
|
command: cargo doc --document-private-items --no-deps --workspace
|
||||||
|
@ -216,7 +221,7 @@ jobs:
|
||||||
name: add python3
|
name: add python3
|
||||||
command: |
|
command: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install python3
|
sudo apt install python3 python3-dev
|
||||||
- run:
|
- run:
|
||||||
name: cargo nextest
|
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
|
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
|
type: string
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: add python3
|
||||||
|
command: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y python3 python3-dev
|
||||||
- run:
|
- run:
|
||||||
name: Install Target
|
name: Install Target
|
||||||
command: rustup target add << parameters.target >>
|
command: rustup target add << parameters.target >>
|
||||||
|
|
|
@ -39,7 +39,7 @@ RUN \
|
||||||
FROM debian:bookworm-slim
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
RUN apt update \
|
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} \
|
&& rm -rf /var/lib/{apt,dpkg,cache,log} \
|
||||||
&& groupadd --gid 1500 influxdb3 \
|
&& groupadd --gid 1500 influxdb3 \
|
||||||
&& useradd --uid 1500 --gid influxdb3 --shell /bin/bash --create-home influxdb3
|
&& useradd --uid 1500 --gid influxdb3 --shell /bin/bash --create-home influxdb3
|
||||||
|
|
Loading…
Reference in New Issue