summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 99a11d1286f89322f36d914448cb0b13dc8b0b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM ubuntu:latest
MAINTAINER Juan Rada-Vilela <jcrada@fuzzylite.com>

ARG CXX_COMPILER=g++
ENV CXX_COMPILER ${CXX_COMPILER}


#install software-properties-common to use add-apt to add repository for g++-6
RUN apt-get update && apt-get -y install software-properties-common && \
    add-apt-repository ppa:ubuntu-toolchain-r/test && \
    apt-get update && apt-get -y install \
    ${CXX_COMPILER} \
    make \
    cmake \
    doxygen \
    graphviz

#Create and copy Docker's context into /build
RUN mkdir /build
ADD . /build
WORKDIR /build/fuzzylite
ENTRYPOINT [ "/build/fuzzylite/build.sh" ]