-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
53 lines (40 loc) · 1.43 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
FROM python:3.8-slim-buster
RUN apt-get update -y
RUN apt install libgl1-mesa-glx -y
RUN apt-get install 'ffmpeg'\
'libsm6'\
'libxext6' -y
RUN pip3 install --upgrade pip
RUN apt-get update -y \
&& apt-get -y install \
xvfb \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*
COPY nano_requirements.txt .
RUN pip3 install -r nano_requirements.txt
RUN apt-get update -y \
&& apt-get install make
RUN apt-get update \
&& apt-get install -y wget \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update -y \
&& apt install build-essential -y
RUN apt-get install libssl-dev
WORKDIR /dependency_build
COPY build_cmake.sh .
RUN chmod +x ./build_cmake.sh
RUN ./build_cmake.sh
COPY build_open3d.sh .
RUN chmod +x ./build_open3d.sh
RUN apt-get update -y
RUN apt-get install -y apt-utils build-essential git cmake
RUN apt-get install -y xorg-dev libglu1-mesa-dev
RUN apt-get install -y libblas-dev liblapack-dev liblapacke-dev
RUN apt-get install -y libsdl2-dev libc++-7-dev libc++abi-7-dev libxi-dev
RUN apt-get install -y clang-7
RUN apt-get install -y ccache
RUN git clone --recursive https://github.com/intel-isl/Open3D
RUN apt-get install python-wheel -y
RUN ./build_open3d.sh
COPY . .
ENV COMMAND python3 -m gripper_service --GRIPPER_TYPE_RECOGNITION_SERVICE_IP 127.0.0.1:5001 --POINT_CLOUD_PUBLISHER_IP 127.0.0.1:5008 --IMAGE_PUBLISHER_IP 127.0.0.1:5012 --TRIGGER_SIGNAL three_jaw --NUMBER_OF_GRASPS 6 --OUTPUT_PORT 5558
CMD $COMMAND