-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (34 loc) · 998 Bytes
/
Dockerfile
File metadata and controls
34 lines (34 loc) · 998 Bytes
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
FROM ubuntu:18.04
RUN apt-get update \
&& apt-get install -y \
python-dev \
python-pip \
python3-dev \
python3-pip \
python3-sip-dev \
git \
libboost-dev \
libeigen3-dev \
liblz4-dev \
curl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /root
COPY rospy-builder/install.sh /root/
RUN ./install.sh
COPY cv_bridge /root/cv_bridge
COPY PyKDL /root/PyKDL
COPY roslz4 /root/roslz4
COPY rospy-all /root/rospy-all
COPY rospy-builder /root/rospy-builder
COPY tf2_py /root/tf2_py
COPY packages.yaml /root/packages.yaml
RUN pip3 install /root/rospy-builder
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
RUN rospy-build build -d any
RUN rospy-build build -d linux --native
ENV INDEX_BUILDER_COMMIT 4fc61ecb09514fe285f43c7316c5c7f52c3ade6b
RUN pip3 install git+git://github.com/rospypi/index_builder.git@${INDEX_BUILDER_COMMIT}
RUN python3 -m index_builder local index/ any/ linux/
CMD ["python3", "-u", "-m", "http.server"]