diff --git a/basic/Dockerfile b/basic/Dockerfile index b19cf6a..9a1bded 100644 --- a/basic/Dockerfile +++ b/basic/Dockerfile @@ -5,8 +5,8 @@ LABEL maintainer "fithwum" ARG INSTALL_SCRIPT=https://gitlab.fithwum.tech/fithwum/teamspeak-server/-/raw/main/basic/files/Install_Script.sh # Install dependencies and folder creation -RUN apt-get -y update && apt-get clean \ - && apt-get install -y --no-install-recommends ca-certificates wget nano software-properties-common bzip2 curl jq \ +RUN apt -y update && apt autoclean && apt -y autoremove \ + && apt install -y --no-install-recommends ca-certificates wget nano software-properties-common bzip2 curl jq \ && rm -rf /var/lib/apt/lists/* \ && mkdir -p /ts3server /ts3temp /ts3temp/serverfiles \ && chmod 777 -R /ts3server /ts3temp \ diff --git a/debian/Dockerfile b/debian/Dockerfile index 9ff3167..828305b 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -5,8 +5,8 @@ LABEL maintainer "fithwum" ARG INSTALL_SCRIPT=https://gitlab.fithwum.tech/fithwum/teamspeak-server/-/raw/main/debian/files/Install_Script.sh # Install dependencies and folder creation -RUN apt-get -y update && apt-get clean \ - && apt-get install -y --no-install-recommends ca-certificates wget nano software-properties-common bzip2 curl jq \ +RUN apt -y update && apt autoclean && apt -y autoremove \ + && apt install -y --no-install-recommends ca-certificates wget nano software-properties-common bzip2 curl jq \ && rm -rf /var/lib/apt/lists/* \ && mkdir -p /ts3server /ts3temp /ts3temp/serverfiles \ && chmod 777 -R /ts3server /ts3temp \