diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-05-03 21:13:33 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-05-05 23:41:16 +0100 |
commit | 3851cfb652f1b2237738a49c106e703f0270ceee (patch) | |
tree | d760cc11853a8d56fc4cd4455f4eeba23685e07f /other/docker/cmake | |
parent | 8c0fd40356e4a7724b556e17b15b0d14f7d25b4d (diff) |
Add autotools build to localbuild docker images.
Diffstat (limited to 'other/docker/cmake')
-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 | ||