diff options
author | Julian Andres Klode <jak@debian.org> | 2017-07-04 17:07:53 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-07-04 17:14:02 +0200 |
commit | 28c8b7c6e60738fa2c46a3a6fc8fa33d74a87c36 (patch) | |
tree | 93fe5c95b9460f9b1aee7c834111dc2178969440 /Dockerfile | |
parent | 9f85bf8883e3c65a461abff2a0a40d01f8a1c95a (diff) |
travis: Migrate to Docker
This is based on master, just with one less variant, and
stretch as the base image.
Gbp-Dch: ignore
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..b59a5dc6d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM debian:stretch +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 build-essential ccache ninja-build expect curl git -q -y \ + && env DEBIAN_FRONTEND=noninteractive ./prepare-release travis-ci \ + && dpkg-reconfigure ccache \ + && rm -r /tmp/* \ + && apt-get clean |