Pavel Safronov | eb819ca | 2017-08-17 20:41:47 +0300 | [diff] [blame] | 1 | FROM debian:stretch |
Ivan Babrou | e64d300 | 2016-07-12 23:02:35 +0100 | [diff] [blame] | 2 | |
Pavel Safronov | eb819ca | 2017-08-17 20:41:47 +0300 | [diff] [blame] | 3 | MAINTAINER Brenden Blanco <bblanco@gmail.com> |
| 4 | |
| 5 | RUN DEBIAN_RELEASE=stretch && \ |
| 6 | # Adding non-free repo for netperf |
| 7 | echo "deb http://deb.debian.org/debian ${DEBIAN_RELEASE} non-free" > \ |
| 8 | /etc/apt/sources.list.d/debian-non-free.list && \ |
| 9 | apt-get -qq update && \ |
| 10 | apt-get -y install pbuilder aptitude |
Ivan Babrou | e64d300 | 2016-07-12 23:02:35 +0100 | [diff] [blame] | 11 | |
| 12 | COPY ./ /root/bcc |
| 13 | |
| 14 | WORKDIR /root/bcc |
| 15 | |
Pavel Safronov | eb819ca | 2017-08-17 20:41:47 +0300 | [diff] [blame] | 16 | RUN /usr/lib/pbuilder/pbuilder-satisfydepends && \ |
| 17 | ./scripts/build-deb.sh |