-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
36 lines (28 loc) · 1.29 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
ARG BASE_IMG='ubuntu:22.04'
FROM ${BASE_IMG}
SHELL ["/bin/bash", "-ci"]
# Timezone Configuration
ENV TZ=Europe/Moscow
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install -y \
git vim curl nano tmux curl wget lsb-release \
net-tools build-essential gcc g++ \
cmake clang make \
gnupg2 ca-certificates software-properties-common \
libboost-dev libeigen3-dev libcppunit-dev \
python3 python3-dev libpython3-dev python3-pip \
python3-distutils python3-psutil python3-future && \
rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
RUN git clone --branch v1.5.1 https://github.com/orocos/orocos_kinematics_dynamics.git && \
cd orocos_kinematics_dynamics && git submodule update --init && \
cd /workspace/orocos_kinematics_dynamics/orocos_kdl && mkdir build && cd build && \
cmake .. && make && make install && \
cd /workspace/orocos_kinematics_dynamics/python_orocos_kdl && mkdir build && cd build && \
cmake .. && make && make install && \
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib && \
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> ~/.bashrc && \
ldconfig
COPY . /workspace/URControl
RUN cd URControl && python3 setup.py install