Skip to content

Commit 1e916bb

Browse files
committed
Update DOCKERFILE to build for Rolling
Signed-off-by: Yadunund <[email protected]>
1 parent 515cad7 commit 1e916bb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
- uses: actions/checkout@v2
1313
- name: build rmf image and push to gh registry
1414
uses: docker/build-push-action@v1
15+
env:
16+
PIP_BREAK_SYSTEM_PACKAGES: 1
1517
with:
1618
username: ${{ github.actor }}
1719
password: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/nightly.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
uses: ros-tooling/[email protected]
2222
env:
2323
QT_QPA_PLATFORM: offscreen
24+
PIP_BREAK_SYSTEM_PACKAGES: 1
2425
with:
2526
target-ros2-distro: humble
2627
# build all packages listed in the meta package

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Stage 1 - Dependencies
33
#-----------------------
44

5-
FROM ros:humble AS builder
5+
FROM ros:rolling AS builder
66

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

24-
# setup sources.list
25-
RUN . /etc/os-release \
26-
&& echo "deb http://packages.osrfoundation.org/gazebo/$ID-stable `lsb_release -sc` main" > /etc/apt/sources.list.d/gazebo-latest.list
27-
2824
RUN mkdir $HOME/rmf_demos_ws
2925
WORKDIR $HOME/rmf_demos_ws
3026
RUN mkdir src
3127
RUN rosdep update --rosdistro $ROS_DISTRO
3228

3329
# This replaces: wget https://raw.githubusercontent.com/open-rmf/rmf/main/rmf.repos
3430
ENV DEBIAN_FRONTEND=noninteractive
31+
ENV PIP_BREAK_SYSTEM_PACKAGES=1
3532
COPY rmf.repos rmf.repos
3633
RUN vcs import src < rmf.repos \
3734
&& apt-get update \

0 commit comments

Comments
 (0)