-
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.
Updated devcontainer configurations to use latest changes
- Loading branch information
1 parent
5c662c2
commit b435bf3
Showing
7 changed files
with
70 additions
and
38 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,27 @@ | ||
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
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
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 |
---|---|---|
|
@@ -6,7 +6,6 @@ on: | |
push: | ||
branches: | ||
- main | ||
- 120-feature-cleanup-dockerfile | ||
pull_request: | ||
paths: | ||
- .docker/** | ||
|