When building a docker file, even with the ENV DEDIAN_FRONTEND=noninteractive
, apt-get install r-base
still prompts the following user inputs that prevent the automatic build process. Is there any way to disable these user inputs? Or, setting them through a config
file?The minimal
Dockerfile
is
# Use an official Ubuntu runtime as a parent imageFROM ubuntu:24.04# Set environment variable to avoid interactive promptsENV DEBIAN_FRONTEND=noninteractive# Update the package lists and install a package without promptsRUN apt-get update \&& apt-get install -y r-base
I tried on macOS(m1) with Docker version 25.0.1 and macOS(intel) with Docker version 20.10.17.