make apt not ask

This commit is contained in:
David Holdeman 2023-01-21 19:13:26 -06:00
parent f54bfd7fdc
commit 49fc414d51
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ RUN useradd -m -g sudo docker &&\
lsb-release \
&& apt-get autoremove -y && apt-get clean -y &&\
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers &&\
echo 'APT::Get::Assume-Yes "true";' >/etc/apt/apt.conf.d/90forceyes &&\
chown -R docker /opt
WORKDIR /opt