Skip to content

Commit 3fef7a2

Browse files
committed
update uv installation in dockerfile
1 parent b83864b commit 3fef7a2

File tree

1 file changed

+7
-3
lines changed
  • scaffolder-templates/agentic-ai-template/skeleton

1 file changed

+7
-3
lines changed

scaffolder-templates/agentic-ai-template/skeleton/Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,15 @@ RUN echo '. "${BASH_ENV}"' >> ~/.bashrc
9090
# Download and install nvm
9191
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | PROFILE="${BASH_ENV}" bash
9292
RUN echo node > .nvmrc
93+
9394
USER root
94-
RUN microdnf install -y gzip python39 python39-devel gcc make
95+
96+
RUN microdnf install -y gzip python3 python3-pip
9597
# Install uv (using pipx)
96-
RUN python39 -m pip install pipx && \
97-
python39 -m pipx ensurepath && \
98+
RUN python3 -m ensurepip && \
99+
python3 -m pip install --upgrade pip && \
100+
python3 -m pip install pipx && \
101+
pipx ensurepath && \
98102
pipx install uv
99103

100104
RUN nvm install

0 commit comments

Comments
 (0)