summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: ba7bb91945b3721c65d4417788353e39ad333cdf (plain)
1
2
3
4
5
6
7
8
9
10
11
FROM ubuntu:xenial
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 expect curl git moreutils -q -y \
    && env DEBIAN_FRONTEND=noninteractive ./prepare-release travis-ci \
    && dpkg-reconfigure ccache \
    && rm -r /tmp/* \
    && apt-get clean