mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
modify Dockerfile & docker-compose.yml to use ROS melodic
This commit is contained in:
parent
84c4dea360
commit
38a5125306
2 changed files with 3 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ FROM ${BASE_IMAGE}
|
|||
# (or without GPU) works through docker.
|
||||
# I was unable to use the ROS_DISTRO variable here due to this issue:
|
||||
# https://github.com/docker/for-mac/issues/2155
|
||||
COPY --from=osrf/ros:kinetic-desktop-full / /
|
||||
COPY --from=osrf/ros:melodic-desktop-full / /
|
||||
|
||||
# Add ROS env vars to the bashrc
|
||||
ENV BASH_ENV="/root/launch.sh"
|
||||
|
|
@ -26,6 +26,7 @@ RUN apt-get update && \
|
|||
build-essential \
|
||||
# Project-specific build dependencies
|
||||
python-pip \
|
||||
ros-${ROS_DISTRO}-moveit \
|
||||
ros-${ROS_DISTRO}-serial \
|
||||
ros-${ROS_DISTRO}-joint-state-publisher-gui && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ x-app: &common
|
|||
build:
|
||||
context: .
|
||||
args: &common-args
|
||||
ROS_DISTRO: "kinetic"
|
||||
ROS_DISTRO: "melodic"
|
||||
PYMYCOBOT_VERSION: ">=2<3"
|
||||
BASE_IMAGE: nvidia/opengl:1.1-glvnd-runtime-ubuntu18.04
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue