-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
34 lines (26 loc) · 1.18 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
FROM tensorflow/tensorflow:latest
RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y
# Installation of general dependencies
RUN apt-get install -y build-essential gcc g++ lcov make
RUN apt-get install -y openjdk-11-jdk openjdk-11-jre
RUN apt-get install -y libtool clang-format-6.0
RUN apt-get install -y git curl
RUN apt-get install -y wget
RUN apt-get install python python-dev python-pip
RUN python -m pip install -U pip
RUN python -m pip install -U future
# Installation of Bazel Package
RUN echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
RUN apt-get update && apt-get install -y bazel
# Installation of Bazel Tools
RUN wget https://github.com/bazelbuild/buildtools/releases/download/0.29.0/buildifier
RUN chmod +x buildifier
RUN mv buildifier /usr/bin
# Installation of dependencies to Doxygen
RUN apt-get install -y doxygen graphviz plantuml
# Installation of static code analysis
RUN apt-get install -y cppcheck python python-pygments
# cleanup
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
RUN apt-get autoremove && apt-get autoclean