diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-02-21 15:13:04 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-02-21 16:42:12 +0100 |
commit | 270271363fa59f91ecd8d5d5432e29cd7a9f1ed5 (patch) | |
tree | 9de8d514c44faf735ee899210b9f9e9fd69616f1 /Dockerfile | |
parent | 6d0e4aaf4162ad11f9634e7b4fb6106c67da749c (diff) |
travis CI: Use docker container to get useful results
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..516a17af8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM ubuntu:trusty +COPY . /tmp +WORKDIR /tmp +RUN sed -i s#://deb.debian.org#://cdn-fastly.deb.debian.org# /etc/apt/sources.list \ + && apt-get update \ + && adduser --home /home/travis travis --quiet --disabled-login --gecos "" --uid 1000 \ + && env DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends build-essential ccache expect-dev fakeroot libfile-fcntllock-perl wget curl git dpkg-dev debhelper libdb-dev gettext libcurl4-gnutls-dev zlib1g-dev libbz2-dev xsltproc docbook-xsl docbook-xml po4a autotools-dev autoconf automake doxygen debiandoc-sgml stunnel4 -q -y \ + && dpkg-reconfigure ccache \ + && rm -r /tmp/* \ + && apt-get clean |