diff --git a/Dockerfile b/Dockerfile index c2784dd..8087868 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,15 @@ FROM debian:bookworm-slim # Set debconf to run non-interactively RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections +# Set debconf to run non-interactively and agree to the SteamCMD EULA +RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \ + && echo steam steam/question select "I AGREE" | debconf-set-selections \ + && echo steam steam/license note '' | debconf-set-selections \ + && dpkg --add-architecture i386 + +# Add backports and contrib +RUN sed -i /etc/apt/sources.list.d/debian.sources -e 's/Components: main/Components: main contrib non-free/g' + # Install only the necessary packages RUN apt-get update && apt-get -y upgrade && apt-get -y install --no-install-recommends \ nano \