blob: f3a069c4ec5d32a78cd8aee1061da64fb8999529 [file] [log] [blame]
FROM debian:9.4
# Install Docker into this image, so we can run nested containers for ARM64 builds.
RUN apt-get update -qq && apt-get install -qqy \
apt-transport-https \
ca-certificates \
curl \
git \
lxc \
RUN curl -sSL | sh
# Install the prerequisite packages into the image.
ADD . /build
RUN /bin/bash -c 'apt-get update && apt-get install sudo make && ln -sfr /build/Makefile /Makefile && source /build/ && make -C /build prereqs'
VOLUME /var/lib/docker