2 FROM ubuntu:${OS_TAG} as builder
6 ARG DEBIAN_FRONTEND=noninteractive
8 MAINTAINER Brenden Blanco <bblanco@gmail.com>
10 RUN apt-get -qq update && \
11 apt-get -y install pbuilder aptitude
17 RUN /usr/lib/pbuilder/pbuilder-satisfydepends && \
18 ./scripts/build-deb.sh ${BUILD_TYPE}
22 COPY --from=builder /root/bcc/*.deb /root/bcc/
25 apt-get update -y && \
26 DEBIAN_FRONTEND=noninteractive apt-get install -y python python3 python3-pip binutils libelf1 kmod && \
27 if [ ${OS_TAG} = "18.04" ];then \
28 apt-get -y install python-pip && \
29 pip install dnslib cachetools ; \
31 pip3 install dnslib cachetools && \
32 dpkg -i /root/bcc/*.deb