-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
37 lines (26 loc) · 948 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# FROM arm32v7/ros:kinetic-robot-xenial
FROM arm32v7/ros:kinetic-robot
COPY ./qemu/bin/ /usr/bin/
RUN chmod +x /usr/bin/cross-build-start
RUN chmod +x /usr/bin/cross-build-end
RUN chmod +x /usr/bin/qemu*
RUN chmod +x /usr/bin/sh*
RUN ls -la /usr/bin/cross*
# RUN [ "cross-build-start" ]
ENV INITSYSTEM off
ENV QEMU_EXECVE 1
ENV TERM "xterm"
ENV LANG C.UTF-8
ENV LL_ALL C.UTF-8
ENV ROS_DISTRO kinetic
RUN apt update && apt-get install ros-kinetic-rqt-tf-tree python-tf-conversions -y
RUN mkdir /home/edgecar_msgs
COPY . /home/edgecar_msgs
ENV ROS_LANG_DISABLE=gennodejs:geneus:genlisp
RUN /bin/bash -c "cd /home/edgecar_msgs/ && source /opt/ros/kinetic/setup.bash && catkin_make -j -C catkin_ws/"
# RUN echo "source /home/edgecar_msgs/docker_setup.sh" >> ~/.bashrc
# RUN bash -c "source /home/edgecar_msgs/docker_setup.sh"
RUN ls -la /usr/bin/
ENV ROS_MASTER_URI=http://master:11311
# RUN [ "cross-build-end" ]
WORKDIR /home/edgecar_msgs