-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cleaned up Dockerfile and added new user entrypoints * Fixed robot pipeline to support building for arm64 * Updated devcontainer configurations to use latest changes * Testing pipelines * Removed testing branch from pipelines * Precommit * Resolved pr comments
- Loading branch information
1 parent
b858303
commit 11807c8
Showing
13 changed files
with
353 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM ghcr.io/robotic-decision-making-lab/blue:rolling-desktop | ||
|
||
# Install ROS dependencies | ||
# This is done in a previous stage, but we include it again here in case anyone wants to | ||
# add new dependencies during development | ||
ENV USERNAME=blue | ||
ENV USER_WORKSPACE=/home/$USERNAME/ws_blue | ||
WORKDIR $USER_WORKSPACE | ||
|
||
COPY --chown=$USER_UID:$USER_GID . src/blue | ||
RUN sudo apt-get -q update \ | ||
&& sudo apt-get -q -y upgrade \ | ||
&& rosdep update \ | ||
&& rosdep install -y --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} --skip-keys="gz-transport12 gz-sim7 gz-math7 gz-msgs9 gz-plugin2" \ | ||
&& sudo apt-get autoremove -y \ | ||
&& sudo apt-get clean -y \ | ||
&& sudo rm -rf /var/lib/apt/lists/* | ||
|
||
# Install debugging/linting Python packages | ||
COPY --chown=$USER_UID:$USER_GID requirements-dev.txt . | ||
RUN python3 -m pip install -r requirements-dev.txt \ | ||
&& rm -rf requirements-dev.txt | ||
|
||
# Disable the setuputils installation warning | ||
# This prevents us from needing to pin the setuputils version (which doesn't always work) | ||
ENV PYTHONWARNINGS="ignore" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM ghcr.io/robotic-decision-making-lab/blue:rolling-desktop-nvidia | ||
|
||
# Install ROS dependencies | ||
# This is done in a previous stage, but we include it again here in case anyone wants to | ||
# add new dependencies during development | ||
ENV USERNAME=blue | ||
ENV USER_WORKSPACE=/home/$USERNAME/ws_blue | ||
WORKDIR $USER_WORKSPACE | ||
|
||
COPY --chown=$USER_UID:$USER_GID . src/blue | ||
RUN sudo apt-get -q update \ | ||
&& sudo apt-get -q -y upgrade \ | ||
&& rosdep update \ | ||
&& rosdep install -y --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} --skip-keys="gz-transport12 gz-sim7 gz-math7 gz-msgs9 gz-plugin2" \ | ||
&& sudo apt-get autoremove -y \ | ||
&& sudo apt-get clean -y \ | ||
&& sudo rm -rf /var/lib/apt/lists/* | ||
|
||
# Install debugging/linting Python packages | ||
COPY --chown=$USER_UID:$USER_GID requirements-dev.txt . | ||
RUN python3 -m pip install -r requirements-dev.txt \ | ||
&& rm -rf requirements-dev.txt | ||
|
||
# Disable the setuputils installation warning | ||
# This prevents us from needing to pin the setuputils version (which doesn't always work) | ||
ENV PYTHONWARNINGS="ignore" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.