Skip to content

Commit

Permalink
Add missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre.delaunay committed Jan 21, 2025
1 parent b2e4cc2 commit 1c538b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile-cuda
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ COPY . /milabench/milabench/

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y &&\
apt-get install -y --no-install-recommends git build-essential curl python3 python-is-python3 python3-pip libgl1-mesa-glx &&\
apt-get install -y --no-install-recommends git build-essential curl python3 python-is-python3 python3-pip libgl1-mesa-glx libglib2.0-0 gcc g++ python3-dev &&\
curl -o /etc/apt/trusted.gpg.d/mellanox.asc https://content.mellanox.com/ofed/RPM-GPG-KEY-Mellanox &&\
curl -o /etc/apt/sources.list.d/mellanox.list https://linux.mellanox.com/public/repo/mlnx_ofed/${MOFED_VERSION}/ubuntu22.04/mellanox_mlnx_ofed.list &&\
apt-get update -y &&\
Expand All @@ -52,7 +52,7 @@ RUN apt-get update -y &&\
# Install Rust
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
ENV CUDA_HOME=/usr/local/cuda-11.8
ENV CUDA_HOME=/usr/local/cuda-12.1

# Install Milabench
# -----------------
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile-rocm
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ COPY . /milabench/milabench/
# build-essential: for rust

RUN apt-get update &&\
apt-get install -y git build-essential curl python3.10 python-is-python3 python3-pip &&\
apt-get install -y git build-essential curl python3.10 python-is-python3 python3-pip libgl1-mesa-glx libglib2.0-0 gcc g++ python3-dev &&\
apt-get clean &&\
rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 1c538b0

Please sign in to comment.