Skip to content

Commit

Permalink
Install python dependencies via pip
Browse files Browse the repository at this point in the history
  • Loading branch information
dalehamel authored and yonghong-song committed Nov 11, 2020
1 parent fb9b4db commit c9aff55
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,10 @@ COPY --from=builder /root/bcc/*.deb /root/bcc/

RUN \
apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y python python3 binutils libelf1 kmod python-dnslib python-cachetools python3-dnslib python3-cachetools && \
DEBIAN_FRONTEND=noninteractive apt-get install -y python python3 python3-pip binutils libelf1 kmod && \
if [ ${OS_TAG} = "18.04" ];then \
apt-get -y install python-pip && \
pip install dnslib cachetools ; \
fi ; \
pip3 install dnslib cachetools && \
dpkg -i /root/bcc/*.deb

0 comments on commit c9aff55

Please sign in to comment.