diff --git a/contrib/Dockerfile b/contrib/Dockerfile
index 50d7ff8929a95d03320a19d22f029eec841203c0..3a239c68a3f8109513ae8a4129d25d8b7f0922f9 100644
--- a/contrib/Dockerfile
+++ b/contrib/Dockerfile
@@ -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 \