summaryrefslogtreecommitdiff
path: root/other/docker/cmake
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-05-03 21:13:33 +0100
committeriphydf <iphydf@users.noreply.github.com>2020-05-05 23:41:16 +0100
commit3851cfb652f1b2237738a49c106e703f0270ceee (patch)
treed760cc11853a8d56fc4cd4455f4eeba23685e07f /other/docker/cmake
parent8c0fd40356e4a7724b556e17b15b0d14f7d25b4d (diff)
Add autotools build to localbuild docker images.
Diffstat (limited to 'other/docker/cmake')
-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