Update Dockerfile --no-install-recommends (#7846)
* Update Dockerfile-cpu `--no-install-recommends` Per https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends * Update Dockerfile-M1 * Update Dockerfile * Update Dockerfile-M1 * Update Dockerfile-cpu
This commit is contained in:
1 parent
b52fd48b4a
commit
614ef110b3
3 files changed
+3
-3
No files matched your search
@@ -8,7 +8,7 @@ RUN rm -rf /opt/pytorch # remove 1.2GB dir
|
||||
ADD https://ultralytics.com/assets/Arial.ttf https://ultralytics.com/assets/Arial.Unicode.ttf /root/.config/Ultralytics/
|
||||
|
||||
# Install linux packages
|
||||
RUN apt update && apt install -y zip htop screen libgl1-mesa-glx
|
||||
RUN apt update && apt install --no-install-recommends -y zip htop screen libgl1-mesa-glx
|
||||
|
||||
# Install pip packages
|
||||
COPY requirements.txt .
|
||||
|
||||
Reference in new issue
Block a user