Dockerfile.ngraph 1.44 KB
Newer Older
1
# ******************************************************************************
2
# Copyright 2017-2019 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-sphinx python3-sphinx \
28
        python-pip
29

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

# allows for make html build under the doc/source directory as an interim build process
RUN pip install sphinx
L.S. Cook's avatar
L.S. Cook committed
36
RUN pip install breathe
37

38 39 40
# need numpy to successfully build docs for python_api
RUN pip install numpy

41
# release notes need this markdown extension
42 43
# RUN python3 -m pip install m2r

44
WORKDIR /home