Skip to content

Commit 0dbdf8d

Browse files
committed
fixed uv installed
1 parent 84a33dd commit 0dbdf8d

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

Dockerfile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,21 @@ ENV DEBIAN_FRONTEND=noninteractive
3333
ENV TZ=UTC
3434

3535
# Install build dependency tools
36-
RUN apt-get update && apt-get install -y \
36+
RUN apt-get update && apt-get install -y --no-install-recommends \
37+
curl \
38+
ca-certificates \
3739
python3 \
3840
python3-pip \
3941
iverilog \
4042
yosys \
41-
&& apt-get clean
43+
&& apt-get clean \
44+
&& rm -rf /var/lib/apt/lists/*
4245

4346
# Install uv
44-
RUN curl -LsSf https://astral.sh/uv/install.sh | sh -s -- --yes
45-
ENV PATH="/root/.cargo/bin:/root/.local/bin:${PATH}"
47+
ADD https://astral.sh/uv/install.sh /uv-installer.sh
48+
RUN sh /uv-installer.sh && rm /uv-installer.sh
49+
# Add UV to PATH
50+
ENV PATH="/root/.local/bin/:$PATH"
4651

4752
# Work directory of the application
4853
WORKDIR /src

0 commit comments

Comments
 (0)