Skip to content

Commit

Permalink
Update DOCKERFILE to build for Rolling
Browse files Browse the repository at this point in the history
Signed-off-by: Yadunund <yadunund@intrinsic.ai>
  • Loading branch information
Yadunund committed Jun 17, 2024
1 parent 515cad7 commit 1e916bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
- uses: actions/checkout@v2
- name: build rmf image and push to gh registry
uses: docker/build-push-action@v1
env:
PIP_BREAK_SYSTEM_PACKAGES: 1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
uses: ros-tooling/action-ros-ci@v0.2
env:
QT_QPA_PLATFORM: offscreen
PIP_BREAK_SYSTEM_PACKAGES: 1
with:
target-ros2-distro: humble
# build all packages listed in the meta package
Expand Down
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Stage 1 - Dependencies
#-----------------------

FROM ros:humble AS builder
FROM ros:rolling AS builder

RUN apt-get update \
&& apt-get install -y \
Expand All @@ -21,17 +21,14 @@ RUN apt-get update \
# setup keys
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2486D2DD83DB69272AFE98867170598AF249743

# setup sources.list
RUN . /etc/os-release \
&& echo "deb http://packages.osrfoundation.org/gazebo/$ID-stable `lsb_release -sc` main" > /etc/apt/sources.list.d/gazebo-latest.list

RUN mkdir $HOME/rmf_demos_ws
WORKDIR $HOME/rmf_demos_ws
RUN mkdir src
RUN rosdep update --rosdistro $ROS_DISTRO

# This replaces: wget https://raw.githubusercontent.com/open-rmf/rmf/main/rmf.repos
ENV DEBIAN_FRONTEND=noninteractive
ENV PIP_BREAK_SYSTEM_PACKAGES=1
COPY rmf.repos rmf.repos
RUN vcs import src < rmf.repos \
&& apt-get update \
Expand Down

0 comments on commit 1e916bb

Please sign in to comment.