contrib/Dockerfile: use apt-get instead of apt

* apt is meant for user interactive usage. apt does not guarantee a stable CLI.
* set DEBIAN_FRONTEND=noninteractive to tell apt-get that no user interaction is wanted
This commit is contained in:
Vieno Hakkerinen 2021-04-07 18:01:56 +02:00
parent 2e6752074f
commit 09d6f70b07
No known key found for this signature in database
GPG Key ID: EEBB9726C2FF9EB2
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
FROM debian:buster-slim
RUN apt update && apt install -y --no-install-recommends \
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
file \
git \