Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[benchmark] Benchmarks on Ubuntu 22.04 #13880

Merged
merged 9 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions benchmark/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ FROM --platform=linux/amd64 {{ global.docker_root_image }}
ENV LANG C.UTF-8

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install software-properties-common
RUN apt-get update && \
add-apt-repository ppa:deadsnakes/ppa && \
apt-get -y install \
git \
htop \
Expand All @@ -14,8 +16,8 @@ RUN apt-get update && \
mysql-client \
xsltproc pandoc \
jq \
python \
python3.9 python3-pip python3.9-dev \
python-is-python3 python3-pip python3.9 python3.9-distutils \
libcairo2-dev pkg-config python3.9-dev \
liblapack3 && \
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1 && \
rm -rf /var/lib/apt/lists/*
Expand All @@ -27,17 +29,18 @@ RUN wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt

COPY requirements.txt requirements.txt
RUN python3 -m pip install --upgrade --no-cache-dir --upgrade pip && \
python3 -m pip install --upgrade --no-cache-dir setuptools && \
python3 -m pip install --upgrade --no-cache-dir -r requirements.txt && \
python3 -m pip install --upgrade --no-cache-dir aiomysql && \
python3 -m pip check
python3 -m pip install --upgrade --no-cache-dir setuptools && \
python3 -m pip install --upgrade --no-cache-dir pycairo && \
python3 -m pip install --upgrade --no-cache-dir -r requirements.txt && \
python3 -m pip install --upgrade --no-cache-dir aiomysql && \
ehigham marked this conversation as resolved.
Show resolved Hide resolved
python3 -m pip check

ARG HAIL_WHEEL
COPY $HAIL_WHEEL .
RUN python3 -m pip install --upgrade --no-cache-dir --quiet $HAIL_WHEEL && \
python3 -m pip check
python3 -m pip check
ehigham marked this conversation as resolved.
Show resolved Hide resolved

ARG BENCHMARK_WHEEL
COPY $BENCHMARK_WHEEL .
RUN python3 -m pip install --upgrade --no-cache-dir --quiet $BENCHMARK_WHEEL && \
python3 -m pip check
python3 -m pip check
Loading