use apt-get instead of apt and --no-install-recommends option

Co-authored-by: Milas Bowman <milasb@gmail.com>
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
This commit is contained in:
Guillaume Lours
2022-07-04 10:00:37 +02:00
committed by Guillaume Lours
parent a6835e4359
commit 3f0b5a972d
3 changed files with 3 additions and 3 deletions

View File

@@ -9,8 +9,8 @@ RUN CGO_ENABLED=0 go build -o backend main.go
FROM build as dev-envs
RUN <<EOF
apt update
apt install git
apt-get update
apt-get install -y --no-install-recommends git
EOF
RUN <<EOF