-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove .venv Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * cleanup Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * bootstrap pipenv in venv Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * jazzy Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * updating images Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * trigger workflow Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * update workflow Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * update scripts Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * set concurrency Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * update docker workflow Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * update docker workflow Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * trigger workflow Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * fix source Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * undo push nightly Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * update workflows Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * update workflows Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * update workflows Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * update workflows Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * update workflows Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * force install pipenv even if it already exist on the system Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> * Update README.md Co-authored-by: Aaron Chong <aaronchongth@gmail.com> --------- Signed-off-by: Teo Koon Peng <teokoonpeng@gmail.com> Co-authored-by: Aaron Chong <aaronchongth@gmail.com>
- Loading branch information
1 parent
bb88e1c
commit 07f09ab
Showing
24 changed files
with
175 additions
and
2,468 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
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,34 @@ | ||
ARG BASE_IMAGE=docker.io/ros:jazzy-ros-base | ||
FROM $BASE_IMAGE | ||
ARG BRANCH=main | ||
ARG ROS_DISTRO=jazzy | ||
|
||
### build minimal rmf | ||
|
||
RUN apt update && apt install -y curl | ||
|
||
# # fetch sources | ||
RUN mkdir -p /rmf && cd /rmf \ | ||
&& curl -sL https://github.com/open-rmf/rmf_internal_msgs/archive/refs/heads/$BRANCH.tar.gz -o rmf_internal_msgs.tar.gz \ | ||
&& curl -sL https://github.com/open-rmf/rmf_building_map_msgs/archive/refs/heads/$BRANCH.tar.gz -o rmf_building_map_msgs.tar.gz \ | ||
&& mkdir -p /rmf/src/rmf/rmf_internal_msgs && tar zxf rmf_internal_msgs.tar.gz -C /rmf/src/rmf/rmf_internal_msgs --strip-components=1 && rm rmf_internal_msgs.tar.gz \ | ||
&& mkdir -p /rmf/src/rmf/rmf_building_map_msgs && tar zxf rmf_building_map_msgs.tar.gz -C /rmf/src/rmf/rmf_building_map_msgs --strip-components=1 && rm rmf_building_map_msgs.tar.gz | ||
|
||
RUN rosdep update && rosdep install --from-paths /rmf/src -yi | ||
|
||
RUN cd /rmf \ | ||
&& . /opt/ros/$ROS_DISTRO/setup.sh \ | ||
&& colcon build --merge-install --install-base /opt/rmf --cmake-args -DCMAKE_BUILD_TYPE=Release \ | ||
&& rm -rf /rmf | ||
|
||
# install tools for rmf-web | ||
|
||
RUN curl -fsSL https://get.pnpm.io/install.sh | bash - | ||
# shell runs in non-interactive mode, which does not source .bashrc so we need to set the PATH manually | ||
ENV PNPM_HOME /root/.local/share/pnpm | ||
ENV PATH "$PNPM_HOME:$PATH" | ||
|
||
# nodejs seems to have changed the official mirror, the default in pnpm is very slow now | ||
RUN pnpm config -g set 'node-mirror:release' https://nodejs.org/dist && pnpm env use --global lts | ||
|
||
RUN apt update && apt install -y python3-venv |
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
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
Oops, something went wrong.