diff options
Diffstat (limited to 'other/docker/cmake/Dockerfile')
-rw-r--r-- | other/docker/cmake/Dockerfile | 14 |
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 | ||
3 | FROM 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. | ||
7 | RUN mkdir -p /home/travis/build/c-toxcore /home/travis/cache | ||
8 | WORKDIR /home/travis/build/c-toxcore | ||
9 | COPY --chown=travis:travis c-toxcore/.travis/ /home/travis/build/c-toxcore/.travis/ | ||
10 | RUN .travis/cmake-linux install | ||
11 | |||
12 | # Now copy the rest of the sources and run the build. | ||
13 | COPY --chown=travis:travis . /home/travis/build/ | ||
14 | RUN .travis/cmake-linux script | ||