Use apt-get in Dockerfiles (#16535)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
1fd21ca27e
commit
efb0c17881
8 changed files with 32 additions and 16 deletions
|
|
@ -17,8 +17,10 @@ ADD https://github.com/ultralytics/assets/releases/download/v0.0.0/Arial.ttf \
|
|||
/root/.config/Ultralytics/
|
||||
|
||||
# Install dependencies
|
||||
RUN apt update && \
|
||||
apt install --no-install-recommends -y git python3-pip libopenmpi-dev libopenblas-base libomp-dev
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
git python3-pip libopenmpi-dev libopenblas-base libomp-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Create working directory
|
||||
WORKDIR /ultralytics
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue