Skip to content
This repository was archived by the owner on Apr 9, 2026. It is now read-only.

Commit ebc8f1d

Browse files
committed
use uv
1 parent ef235a7 commit ebc8f1d

4 files changed

Lines changed: 10 additions & 8 deletions

File tree

agent-build/builder.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ RUN ./rustup-init.sh -y -c rustfmt --default-toolchain nightly-2024-10-11
77
ENV PATH="$PATH:/root/.cargo/bin"
88
RUN rustup target add --toolchain nightly-2024-10-11 x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu
99

10-
RUN curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py
11-
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true python3 -m pip install cargo-zigbuild
10+
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
11+
RUN uv tool install cargo-zigbuild

e2e-setup-action/action.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ runs:
2929
node-version: 14
3030
- run: npm install express
3131
shell: bash
32-
- uses: actions/setup-python@v3
33-
- run: pip3 install flask fastapi uvicorn[standard]
32+
- name: Install uv
33+
uses: astral-sh/setup-uv@v3
34+
- run: uv pip install --system flask fastapi uvicorn[standard]
3435
shell: bash
3536
- uses: actions/setup-go@v3
3637
with:

rust-build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ RUN apt-get update && apt-get install -y protobuf-compiler
44
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh
55
RUN chmod +x rustup-init.sh
66
RUN ./rustup-init.sh -y -c rustfmt --default-toolchain nightly-2024-10-11
7-
ENV PATH="$PATH:/root/.cargo/bin"
7+
ENV PATH="$PATH:/root/.cargo/bin"

tests-runner/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM buildpack-deps:bookworm
22

33
WORKDIR /tests-runner
44

5-
RUN apt-get update && apt-get install -y protobuf-compiler gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf gcc-x86-64-linux-gnu curl bison npm python3-pip bash bsdmainutils ca-certificates curl gnupg zip clang
5+
RUN apt-get update && apt-get install -y protobuf-compiler gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf gcc-x86-64-linux-gnu curl bison npm bash bsdmainutils ca-certificates curl gnupg zip clang
66

77
# docker stuff
88
RUN install -m 0755 -d /etc/apt/keyrings
@@ -28,9 +28,10 @@ RUN rustup target add --toolchain nightly-2024-10-11 aarch64-unknown-linux-gnu x
2828

2929

3030
# install pip for cargo-zigbuild
31-
RUN curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py --break-system-packages
31+
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
32+
RUN uv tool install cargo-zigbuild
3233
# cargo zigbuild + Python tests dependencies
33-
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true python3 -m pip install --break-system-packages cargo-zigbuild flask fastapi uvicorn "httptools>=0.5.0" "uvloop>=0.14.0,!=0.15.0,!=0.15.1"
34+
RUN uv pip install --system flask fastapi uvicorn "httptools>=0.5.0" "uvloop>=0.14.0,!=0.15.0,!=0.15.1"
3435

3536
# npm dependencies
3637
RUN npm install express

0 commit comments

Comments
 (0)