Add environment var for apt-get command

It specifies that no frontend tty is available.
This commit is contained in:
Foster Hangdaan 2023-10-20 08:53:11 -04:00
parent 0c64919245
commit 4aefaae262
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

@ -47,7 +47,7 @@ LABEL maintainer="Foster Hangdaan <foster@hangdaan.email>"
RUN set -ex && \
apt-get update && \
apt-get --no-install-recommends --yes install ca-certificates && \
DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends --yes install ca-certificates && \
apt-get clean && \
rm -rf /var/lib/apt