Use apt-get instead of apt that not have a stable CLI interface

This commit is contained in:
Laurent Indermuehle 2023-02-01 14:13:54 +01:00
parent 2ce768b880
commit 5afac35fe4
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
14 changed files with 42 additions and 42 deletions

View file

@ -2,9 +2,9 @@ FROM quay.io/ansible/ubuntu2004-test-container:main
# ubuntu2004 comes with mariadb-client-10.3
# iproute2 # To grab docker network gateway address
RUN apt update -y && \
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y --no-install-recommends && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
python3.9 \
mariadb-client \
iproute2