Skip to content

Commit 9c64407

Browse files
committed
Update docker image for testing to ROS Noetic
1 parent 95ca66b commit 9c64407

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
python -m pip install --no-cache-dir -r requirements-dev.txt
4242
- name: Set up docker containers
4343
run: |
44-
docker build -t gramaziokohler/rosbridge ./docker
45-
docker run -d -p 9090:9090 --name rosbridge gramaziokohler/rosbridge /bin/bash -c "roslaunch /integration-tests.launch"
44+
docker build -t gramaziokohler/rosbridge:integration_tests ./docker
45+
docker run -d -p 9090:9090 --name rosbridge gramaziokohler/rosbridge:integration_tests /bin/bash -c "roslaunch /integration-tests.launch"
4646
docker ps -a
4747
- name: Run linter
4848
run: |

docker/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
FROM ros:kinetic
1+
FROM ros:noetic
22
LABEL maintainer "Gonzalo Casas <[email protected]>"
33

4+
SHELL ["/bin/bash","-c"]
5+
46
# Install rosbridge
57
RUN apt-get update && apt-get install -y \
6-
ros-kinetic-rosbridge-suite \
7-
ros-kinetic-tf2-web-republisher \
8-
ros-kinetic-ros-tutorials \
8+
ros-noetic-rosbridge-suite \
9+
ros-noetic-tf2-web-republisher \
10+
ros-noetic-ros-tutorials \
11+
ros-noetic-actionlib-tutorials \
912
--no-install-recommends \
1013
# Clear apt-cache to reduce image size
1114
&& rm -rf /var/lib/apt/lists/*
@@ -17,4 +20,4 @@ COPY ./integration-tests.launch /
1720
EXPOSE 9090
1821

1922
ENTRYPOINT ["/ros_entrypoint.sh"]
20-
CMD ["/bin/bash"]
23+
CMD ["bash"]

0 commit comments

Comments
 (0)