Trying to install Latex in a container apt-get asking for my location

I try to run (within a Dockerfile)

RUN apt-get install -yq --no-install-recommends 
    texlive-latex-extra 
    texlive-extra-utils 

but it asks for a location. Is there a chance to avoid this question or find in an option?
If so, how so?