Skip to content

Commit

Permalink
Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Krejci committed Dec 29, 2018
1 parent 4f4d2b1 commit 09848b0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ros:lunar-ros-base

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get -y install \
ros-lunar-cv-bridge \
ros-lunar-opencv3 \
ros-lunar-tf \
python-pip python-matplotlib \
&& rm -rf /var/lib/apt/lists/*
COPY . /kitti2bag
RUN pip install -e /kitti2bag
ENTRYPOINT ["/kitti2bag/docker_entrypoint.sh"]

6 changes: 6 additions & 0 deletions docker_entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -e

# setup ros environment
source "/opt/ros/$ROS_DISTRO/setup.bash"
exec kitti2bag "$@"

0 comments on commit 09848b0

Please sign in to comment.