1 Star 0 Fork 0

dwj/bcc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile.ubuntu 765 Bytes
一键复制 编辑 原始数据 按行查看 历史
Dale Hamel 提交于 2020-11-10 14:13 . Install python dependencies via pip
ARG OS_TAG=18.04
FROM ubuntu:${OS_TAG} as builder
ARG OS_TAG
ARG BUILD_TYPE=release
ARG DEBIAN_FRONTEND=noninteractive
MAINTAINER Brenden Blanco <[email protected]>
RUN apt-get -qq update && \
apt-get -y install pbuilder aptitude
COPY ./ /root/bcc
WORKDIR /root/bcc
RUN /usr/lib/pbuilder/pbuilder-satisfydepends && \
./scripts/build-deb.sh ${BUILD_TYPE}
FROM ubuntu:${OS_TAG}
COPY --from=builder /root/bcc/*.deb /root/bcc/
RUN \
apt-get update -y && \
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dweijian/bcc.git
[email protected]:dweijian/bcc.git
dweijian
bcc
bcc
master

搜索帮助