1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
## Setup instructions (only required once)
# apt install qemu-user-static
##
## Subsequently, run the build in the Bazel source root directory:
# docker build -f debian/mips64el.Dockerfile .
##
FROM mips64le/debian:sid-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
devscripts \
equivs \
quilt
COPY . /src
WORKDIR /src
RUN mkdir -p /usr/share/man/man1 # needed due to using a "-slim" image that otherwise does not have manpages
RUN yes | mk-build-deps -i
# RUN uscan --download-current-version --verbose
# RUN dpkg-buildpackage -uc -us
# too slow
ENV http_proxy=127.0.0.1:9
ENV https_proxy=127.0.0.1:9
RUN QUILT_PATCHES="debian/patches" quilt push -a
RUN debian/rules binary
|