summaryrefslogtreecommitdiff
path: root/other/docker/cmake/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'other/docker/cmake/Dockerfile')
-rw-r--r--other/docker/cmake/Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/other/docker/cmake/Dockerfile b/other/docker/cmake/Dockerfile
new file mode 100644
index 00000000..0b70a9f7
--- /dev/null
+++ b/other/docker/cmake/Dockerfile
@@ -0,0 +1,14 @@
1################################################
2# cmake-linux
3FROM localbuild/travis:1.0.0
4
5# Copy minimal files to run "cmake-linux install", so we can avoid rebuilding
6# astyle and other things when only source files change.
7RUN mkdir -p /home/travis/build/c-toxcore /home/travis/cache
8WORKDIR /home/travis/build/c-toxcore
9COPY --chown=travis:travis c-toxcore/.travis/ /home/travis/build/c-toxcore/.travis/
10RUN .travis/cmake-linux install
11
12# Now copy the rest of the sources and run the build.
13COPY --chown=travis:travis . /home/travis/build/
14RUN .travis/cmake-linux script