1 Star 0 Fork 0

李贞/TCPDBench

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
Gertjan van den Burg 提交于 2021-01-26 18:00 . Install wheel package
FROM ubuntu:20.04
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata && \
apt-get remove -y python && \
apt-get install -y --no-install-recommends \
git \
build-essential \
r-base \
r-base-dev \
r-cran-rcppeigen \
latexmk \
texlive-latex-extra \
libopenmpi-dev \
liblzma-dev \
libgit2-dev \
libxml2-dev \
libcurl4-openssl-dev \
libssl-dev \
libopenblas-dev \
libfreetype6-dev \
libv8-dev
# Make sure python means python3
RUN apt-get install -y --no-install-recommends \
python3 \
python3-dev \
python3-tk \
python3-venv \
python3-pip && \
pip3 install --no-cache-dir --upgrade setuptools && \
echo "alias python='python3'" >> /root/.bash_aliases && \
echo "alias pip='pip3'" >> /root/.bash_aliases && \
cd /usr/local/bin && ln -s /usr/bin/python3 python && \
cd /usr/local/bin && ln -s /usr/bin/pip3 pip && \
pip install virtualenv abed wheel
# Set the default shell to bash
RUN mv /bin/sh /bin/sh.old && cp /bin/bash /bin/sh
# Clone the dataset repo
RUN git clone https://github.com/alan-turing-institute/TCPD
# Build the dataset
RUN cd TCPD && make export
# Clone the repo
RUN git clone --recurse-submodules https://github.com/alan-turing-institute/TCPDBench
# Copy the datasets into the benchmark dir
RUN mkdir -p /TCPDBench/datasets && cp TCPD/export/*.json /TCPDBench/datasets/
# Install Python dependencies
RUN pip install -r /TCPDBench/analysis/requirements.txt
# Set the working directory
WORKDIR TCPDBench
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lizhen_hbu/TCPDBench.git
git@gitee.com:lizhen_hbu/TCPDBench.git
lizhen_hbu
TCPDBench
TCPDBench
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385