Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
af6eea0a
Unverified
Commit
af6eea0a
authored
Jan 13, 2026
by
Tushar Sharma
Committed by
GitHub
Jan 13, 2026
Browse files
chore: use python apt for frontend container instead of uv (#5403)
Signed-off-by:
Tushar Sharma
<
tusharma@nvidia.com
>
parent
a98406d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
6 deletions
+37
-6
container/Dockerfile
container/Dockerfile
+37
-6
No files found.
container/Dockerfile
View file @
af6eea0a
...
...
@@ -570,6 +570,11 @@ RUN apt-get update -y \
libstdc++6 \
# required for verification of GPG keys
gnupg2 \
# required for installing dependencies from git repositories
git \
git-lfs \
# Python runtime - required for virtual environment to work
python${PYTHON_VERSION}-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
...
...
@@ -604,12 +609,38 @@ COPY --chown=dynamo: ATTRIBUTION* LICENSE /workspace/
ENV
VIRTUAL_ENV=/opt/dynamo/venv
ENV
PATH="/opt/dynamo/venv/bin:$PATH"
# Copy virtual environment directly from dynamo_base (dev image)
# This includes all installed packages: dynamo, nixl, requirements.txt, requirements.test.txt
# Copy uv to system /bin
COPY
--chown=dynamo: --from=dev /bin/uv /bin/uvx /bin/
RUN
uv python
install
$PYTHON_VERSION
COPY
--chown=dynamo: --from=dev /opt/dynamo/venv/ /opt/dynamo/venv/
# Copy uv and wheelhouse from runtime stage
COPY
--chown=dynamo: --from=runtime /bin/uv /bin/uvx /bin/
COPY
--chown=dynamo: --from=runtime /opt/dynamo/wheelhouse/ /opt/dynamo/wheelhouse/
# Create virtual environment
RUN
mkdir
-p
/opt/dynamo/venv
&&
\
uv venv /opt/dynamo/venv
--python
$PYTHON_VERSION
# Install common and test dependencies
RUN
--mount
=
type
=
bind
,source
=
./container/deps/requirements.txt,target
=
/tmp/requirements.txt
\
--mount
=
type
=
bind
,source
=
./container/deps/requirements.test.txt,target
=
/tmp/requirements.test.txt
\
UV_GIT_LFS
=
1 uv pip
install
\
--no-cache
\
--requirement
/tmp/requirements.txt
\
--requirement
/tmp/requirements.test.txt
ARG
ENABLE_KVBM
RUN
uv pip
install
\
/opt/dynamo/wheelhouse/ai_dynamo_runtime
*
.whl
\
/opt/dynamo/wheelhouse/ai_dynamo
*
any.whl
\
/opt/dynamo/wheelhouse/nixl/nixl
*
.whl
&&
\
if
[
"
$ENABLE_KVBM
"
=
"true"
]
;
then
\
KVBM_WHEEL
=
$(
ls
/opt/dynamo/wheelhouse/kvbm
*
.whl 2>/dev/null |
head
-1
)
;
\
if
[
-z
"
$KVBM_WHEEL
"
]
;
then
\
echo
"ERROR: ENABLE_KVBM is true but no KVBM wheel found in wheelhouse"
>
&2
;
\
exit
1
;
\
fi
;
\
uv pip
install
"
$KVBM_WHEEL
"
;
\
fi
&&
\
cd
/workspace/benchmarks
&&
\
UV_GIT_LFS
=
1 uv pip
install
--no-cache
.
# Setup environment for all users
USER
root
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment