Add the -y flag to the apt-get install command.