From 891f4eec7073930982165bc11f6e4a04bd3686b3 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 22 Feb 2023 08:40:04 +0200 Subject: [PATCH] add apt -y autoremove --- Dockerfile | 3 ++- ubuntu_setup.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 309db9807..b1992b8b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,9 @@ FROM ubuntu:22.04 ARG DEBIAN_FRONTEND=noninteractive -RUN apt update +RUN apt -y update RUN apt -y upgrade +RUN apt -y autoremove RUN apt install -y supervisor RUN apt install -y python3-pip RUN apt install -y ffmpeg diff --git a/ubuntu_setup.sh b/ubuntu_setup.sh index 618f36dfe..0f7fbe9ae 100644 --- a/ubuntu_setup.sh +++ b/ubuntu_setup.sh @@ -2,6 +2,7 @@ apt -y update apt -y upgrade +apt -y autoremove apt -y install git redis-server python3-pip ffmpeg nginx snapd ufw gpg-agent htop nano mailutils git config --global credential.helper store