-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (21 loc) · 857 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
FROM wilbrandt/cuda_dev_docker:9.1
LABEL maintainer="Robert Wilbrandt <[email protected]>"
LABEL description="Build environment for the gpu_planning project"
# Install boost libraries
RUN apt install -y libboost-log-dev libboost-regex-dev libboost-program-options-dev
# Install recent gtest
RUN apt install -y git \
&& mkdir -p /system \
&& git clone --branch release-1.10.0 --depth 1 https://github.com/google/googletest.git /system/googletest \
&& mkdir /system/googletest/build \
&& cd /system/googletest/build \
&& cmake .. -GNinja \
&& cmake --build . --target install
# Install doxygen
RUN apt install -y doxygen graphviz
# Install LTTng
RUN apt install -y lttng-tools liblttng-ust-dev
# Set up custom entry point
COPY ./docker_entrypoint.sh /gpu_planning_entrypoint.sh
ENTRYPOINT ["/gpu_planning_entrypoint.sh"]
CMD ["bash"]