]> git.ipfire.org Git - thirdparty/lldpd.git/blob - tests/Dockerfile.wheezy
tests: display tests/test-suite.log on errors
[thirdparty/lldpd.git] / tests / Dockerfile.wheezy
1 # Build on Wheezy. We use i386 because it's on amd64, it would require
2 # a kernel with vsyscalls enabled.
3 FROM i386/debian:wheezy
4
5 RUN sed -i \
6 -e 's/deb.debian.org/archive.debian.org/' \
7 -e 's/security.debian.org/archive.debian.org/' \
8 -e '/wheezy-updates/d' \
9 /etc/apt/sources.list
10 RUN apt-get -qqy -o Acquire::Check-Valid-Until=false update
11 RUN apt-get -qqy install build-essential devscripts fakeroot
12
13 COPY . /usr/src/lldpd
14 WORKDIR /usr/src/lldpd
15
16 RUN mk-build-deps -i debian/control -t "apt-get -o Debug::pkgProblemResolver=yes -qqy"
17 RUN debian/rules build && fakeroot debian/rules binary