Remove not needed `apt-get update` in Dockerfile

There's no need to wait and waste the time and bandwidth to wait for `apt-get update` for `pip3 install` ;)
pull/2272/head
Peter Dave Hello 3 months ago committed by GitHub
parent 9e111a334b
commit a5dda7ae91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -7,8 +7,7 @@
FROM python:3.12-slim-bullseye as build FROM python:3.12-slim-bullseye as build
WORKDIR /sherlock WORKDIR /sherlock
RUN apt-get update \ RUN pip3 install --no-cache-dir --upgrade pip
pip3 install --no-cache-dir --upgrade pip
FROM python:3.12-slim-bullseye FROM python:3.12-slim-bullseye
WORKDIR /sherlock WORKDIR /sherlock

Loading…
Cancel
Save