Skip to content

Commit

Permalink
add break system packages call
Browse files Browse the repository at this point in the history
  • Loading branch information
pstjohn committed Dec 24, 2024
1 parent ddf06de commit efdd5e0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@ RUN rm -rf /build

# Addressing Security Scan Vulnerabilities
RUN rm -rf /opt/pytorch/pytorch/third_party/onnx
RUN apt-get update && \
apt-get install -y openssh-client=1:8.9p1-3ubuntu0.10 && \
rm -rf /var/lib/apt/lists/*
RUN apt purge -y libslurm37 libpmi2-0 && \
apt autoremove -y


# Use UV to install python packages from the workspace. This just installs packages into the system's python
Expand All @@ -92,7 +87,7 @@ ENV UV_LINK_MODE=copy \
# Install the bionemo-geomtric requirements ahead of copying over the rest of the repo, so that we can cache their
# installation. These involve building some torch extensions, so they can take a while to install.
RUN --mount=type=bind,source=./sub-packages/bionemo-geometric/requirements.txt,target=/requirements-pyg.txt \
uv pip install --no-build-isolation -r /requirements-pyg.txt
uv pip install --break-system-packages --no-build-isolation -r /requirements-pyg.txt

WORKDIR /workspace/bionemo2

Expand Down

0 comments on commit efdd5e0

Please sign in to comment.