add cleanup to apt upgrade layer

trim-docker
Burhan 4 months ago
parent 9f22f45189
commit a08def62e7
  1. 2
      docker/Dockerfile

@ -22,7 +22,7 @@ RUN apt update \
# Security updates # Security updates
# https://security.snyk.io/vuln/SNYK-UBUNTU1804-OPENSSL-3314796 # https://security.snyk.io/vuln/SNYK-UBUNTU1804-OPENSSL-3314796
RUN apt upgrade --no-install-recommends -y openssl tar RUN apt upgrade --no-install-recommends -y openssl tar && rm -rf /var/lib/apt/lists/*
# Create working directory # Create working directory
WORKDIR /ultralytics WORKDIR /ultralytics

Loading…
Cancel
Save