diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..99a11d1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,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" ]
\ No newline at end of file |