From 8c0e2a71b5feeeaa095612db72cb7ffa9773a5e4 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Sun, 2 May 2021 09:17:58 -0600 Subject: [PATCH] satisfactory: attempt to shrink image --- satisfactory/Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/satisfactory/Dockerfile b/satisfactory/Dockerfile index 9e012c5..3124e91 100644 --- a/satisfactory/Dockerfile +++ b/satisfactory/Dockerfile @@ -32,17 +32,17 @@ ENV DEBIAN_FRONTEND=noninteractive RUN dpkg --add-architecture i386 \ && apt update \ && apt upgrade -y \ - && apt install -y tar curl gcc g++ lib32gcc1 libgcc1 libcurl4-gnutls-dev:i386 libssl1.1:i386 libcurl4:i386 lib32tinfo6 libtinfo6:i386 lib32z1 lib32stdc++6 libncurses5:i386 libncurses6:i386 libcurl3-gnutls:i386 libsdl2-2.0-0:i386 iproute2 gdb libsdl1.2debian libfontconfig telnet net-tools netcat tzdata libntlm0 winbind python3 xauth xvfb wget \ - && useradd -m -d /home/container container - -RUN wget -nc https://dl.winehq.org/wine-builds/winehq.key \ - && apt-key add winehq.key \ + && apt install -y gnupg wget \ + && wget -q https://dl.winehq.org/wine-builds/winehq.key -O- | apt-key add - \ && echo "deb https://dl.winehq.org/wine-builds/debian/ buster main" >> /etc/apt/sources.list \ && apt update \ + && apt install -y curl g++ gcc gdb iproute2 lib32gcc1 lib32stdc++6 lib32tinfo6 lib32z1 libcurl3-gnutls:i386 libcurl4-gnutls-dev:i386 libcurl4:i386 libfontconfig libgcc1 libncurses5:i386 libncurses6:i386 libntlm0 libsdl1.2debian libsdl2-2.0-0:i386 libssl1.1:i386 libtinfo6:i386 net-tools netcat python3 tar telnet tzdata winbind xauth xvfb \ && wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/amd64/libfaudio0_20.01-0~buster_amd64.deb \ && wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/i386/libfaudio0_20.01-0~buster_i386.deb \ && apt install -y ./libfaudio0_20.01-0~buster_* \ - && apt install -y --install-recommends winehq-stable cabextract + && apt install -y --install-recommends cabextract winehq-stable \ + && useradd -m -d /home/container container \ + && rm -rf /libfaudio0_20.01-0~buster_amd64.deb /libfaudio0_20.01-0~buster_i386.deb /var/lib/apt/lists/* USER container ENV USER=container HOME=/home/container