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
a0512bd1
"ssh:/git@developer.sourcefind.cn:2222/OpenDAS/dynamo.git" did not exist on "c9e445a9f2d11ab97549382da5914c4bea4337e0"
Unverified
Commit
a0512bd1
authored
May 29, 2025
by
Tom O'Brien
Committed by
GitHub
May 29, 2025
Browse files
fix: resolve local dev container build issues (#1269)
parent
5a02e4e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
.devcontainer/post-create.sh
.devcontainer/post-create.sh
+1
-1
container/Dockerfile.vllm
container/Dockerfile.vllm
+3
-3
No files found.
.devcontainer/post-create.sh
View file @
a0512bd1
...
@@ -49,7 +49,7 @@ mkdir -p $HOME/dynamo/.build/target
...
@@ -49,7 +49,7 @@ mkdir -p $HOME/dynamo/.build/target
export
CARGO_TARGET_DIR
=
$HOME
/dynamo/.build/target
export
CARGO_TARGET_DIR
=
$HOME
/dynamo/.build/target
# build project, it will be saved at $HOME/dynamo/.build/target
# build project, it will be saved at $HOME/dynamo/.build/target
cargo build
--locked
--profile
dev
--features
mistralrs
,python
cargo build
--locked
--profile
dev
--features
mistralrs
cargo doc
--no-deps
cargo doc
--no-deps
# create symlinks for the binaries in the deploy directory
# create symlinks for the binaries in the deploy directory
...
...
container/Dockerfile.vllm
View file @
a0512bd1
...
@@ -298,15 +298,15 @@ COPY --from=base --chown=$USER_UID:$USER_GID /opt/dynamo/venv/ /opt/dynamo/venv/
...
@@ -298,15 +298,15 @@ COPY --from=base --chown=$USER_UID:$USER_GID /opt/dynamo/venv/ /opt/dynamo/venv/
RUN chown $USERNAME:$USERNAME /opt/dynamo/venv
RUN chown $USERNAME:$USERNAME /opt/dynamo/venv
COPY --from=base --chown=$USERNAME:$USERNAME /usr/local/bin /usr/local/bin
COPY --from=base --chown=$USERNAME:$USERNAME /usr/local/bin /usr/local/bin
# so we can use maturin develop
RUN uv pip install maturin
USER $USERNAME
USER $USERNAME
ENV HOME=/home/$USERNAME
ENV HOME=/home/$USERNAME
ENV PYTHONPATH=$HOME/dynamo/deploy/sdk/src:$PYTHONPATH:$HOME/dynamo/components/planner/src:$PYTHONPATH
ENV PYTHONPATH=$HOME/dynamo/deploy/sdk/src:$PYTHONPATH:$HOME/dynamo/components/planner/src:$PYTHONPATH
ENV CARGO_TARGET_DIR=$HOME/dynamo/.build/target
ENV CARGO_TARGET_DIR=$HOME/dynamo/.build/target
WORKDIR $HOME
WORKDIR $HOME
# so we can use maturin develop
RUN uv pip install maturin
# https://code.visualstudio.com/remote/advancedcontainers/persist-bash-history
# https://code.visualstudio.com/remote/advancedcontainers/persist-bash-history
RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=$HOME/.commandhistory/.bash_history" \
RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=$HOME/.commandhistory/.bash_history" \
&& mkdir -p $HOME/.commandhistory \
&& mkdir -p $HOME/.commandhistory \
...
...
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