File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 11FROM docker.io/library/ubuntu:22.04
22
33ENV DEBIAN_FRONTEND=noninteractive
4- RUN apt update && apt install -y git gcc make wget librdmacm-dev rdma-core libibverbs-dev libncurses5-dev libmount-dev libevent-dev libssl-dev python3-pybind11 python3-dev python3-pip libhiredis-dev liburing-dev
4+ RUN apt update && apt install -y git gcc make wget librdmacm-dev rdma-core libibverbs-dev libncurses5-dev libmount-dev libevent-dev libssl-dev libhiredis-dev liburing-dev pkg-config
5+
6+ # Install Python
7+ ARG PYTHON_VERSION=3.12
8+ RUN apt install software-properties-common -y
9+ RUN add-apt-repository ppa:deadsnakes/ppa -y
10+ RUN apt update
11+ RUN apt install -y python${PYTHON_VERSION} python${PYTHON_VERSION}-dev python${PYTHON_VERSION}-venv python3-pip
12+ RUN python${PYTHON_VERSION} -m ensurepip --upgrade
13+ RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 10
14+ RUN update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 10
15+ RUN update-alternatives --config python3
16+ RUN python3 -m pip install --upgrade setuptools wheel pip pybind11
517
618# install cmake
719RUN cd /tmp && \
You can’t perform that action at this time.
0 commit comments