xref: /aosp_15_r20/external/bcc/docker/Dockerfile.debian (revision 387f9dfdfa2baef462e92476d413c7bc2470293e)
1*387f9dfdSAndroid Build Coastguard WorkerFROM debian:stretch
2*387f9dfdSAndroid Build Coastguard Worker
3*387f9dfdSAndroid Build Coastguard WorkerMAINTAINER Brenden Blanco <[email protected]>
4*387f9dfdSAndroid Build Coastguard Worker
5*387f9dfdSAndroid Build Coastguard WorkerRUN DEBIAN_RELEASE=stretch && \
6*387f9dfdSAndroid Build Coastguard Worker    # Adding non-free repo for netperf
7*387f9dfdSAndroid Build Coastguard Worker    echo "deb http://deb.debian.org/debian ${DEBIAN_RELEASE} non-free" > \
8*387f9dfdSAndroid Build Coastguard Worker        /etc/apt/sources.list.d/debian-non-free.list && \
9*387f9dfdSAndroid Build Coastguard Worker    apt-get -qq update && \
10*387f9dfdSAndroid Build Coastguard Worker    apt-get -y install pbuilder aptitude
11*387f9dfdSAndroid Build Coastguard Worker
12*387f9dfdSAndroid Build Coastguard WorkerCOPY ./ /root/bcc
13*387f9dfdSAndroid Build Coastguard Worker
14*387f9dfdSAndroid Build Coastguard WorkerWORKDIR /root/bcc
15*387f9dfdSAndroid Build Coastguard Worker
16*387f9dfdSAndroid Build Coastguard WorkerRUN /usr/lib/pbuilder/pbuilder-satisfydepends && \
17*387f9dfdSAndroid Build Coastguard Worker    ./scripts/build-deb.sh
18