Dockerfile.ngraph.ubuntu1604 1.65 KB
Newer Older
1
# ******************************************************************************
2
# Copyright 2017-2020 Intel Corporation
3 4 5 6 7 8 9 10 11 12 13 14 15 16
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ******************************************************************************

17
# Environment to build and unit-test ngraph
18 19 20

FROM ubuntu:16.04

21 22 23 24
RUN apt-get update && apt-get install -y \
        build-essential cmake \
        clang-3.9 clang-format-3.9 \
        git \
25
        wget patch diffutils zlib1g-dev libtinfo-dev \
26
        doxygen graphviz \
27
        python-pip python3-sphinx
28

29
RUN apt-get clean autoclean && \
30
    apt-get autoremove -y
31 32 33 34 35 36 37
RUN pip install --upgrade pip

# need to use sphinx version 1.6 to build docs
# installing with apt-get install python-sphinx installs sphinx version 1.3.6 only
# added install for python-pip above and
# installed sphinx with pip to get the updated version 1.6.5
# allows for make html build under the doc/source directory as an interim build process
38
RUN pip install sphinx
L.S. Cook's avatar
L.S. Cook committed
39
RUN pip install breathe
40

41 42 43
# need numpy to successfully build docs for python_api
RUN pip install numpy

44
# release notes need this markdown extension
45 46
# RUN python3 -m pip install m2r

47
WORKDIR /home