summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJohannes 'josch' Schauer <josch@debian.org>2019-01-27 13:56:24 +0100
committerJohannes 'josch' Schauer <josch@debian.org>2019-01-27 13:56:33 +0100
commit6ce553563bc795f389f639a3a8cdfe356de71441 (patch)
treeda4c9ede3087ca534d93bc1ac5a14f044f036600 /Dockerfile
parentbbefa170378553e5a6e0d72e4d52328b61f3e8ac (diff)
new upstream version 6.0
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile22
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