summaryrefslogtreecommitdiff
path: root/other/docker/autotools
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/autotools
parent8c0fd40356e4a7724b556e17b15b0d14f7d25b4d (diff)
Add autotools build to localbuild docker images.
Diffstat (limited to 'other/docker/autotools')
-rw-r--r--other/docker/autotools/Dockerfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/other/docker/autotools/Dockerfile b/other/docker/autotools/Dockerfile
new file mode 100644
index 00000000..9922a62b
--- /dev/null
+++ b/other/docker/autotools/Dockerfile
@@ -0,0 +1,23 @@
1################################################
2# autotools-linux
3FROM localbuild/travis:1.0.0
4
5USER root
6RUN apt-get update && apt-get install --no-install-recommends -y \
7 autoconf \
8 automake \
9 libtool \
10 && apt-get clean \
11 && rm -rf /var/lib/apt/lists/*
12USER travis
13
14# Copy minimal files to run "autotools-linux install", so we can avoid
15# rebuilding nacl and other things when only source files change.
16RUN mkdir -p /home/travis/build/c-toxcore /home/travis/cache
17WORKDIR /home/travis/build/c-toxcore
18COPY --chown=travis:travis c-toxcore/.travis/ /home/travis/build/c-toxcore/.travis/
19RUN .travis/autotools-linux install
20
21# Now copy the rest of the sources and run the build.
22COPY --chown=travis:travis . /home/travis/build/
23RUN .travis/autotools-linux script