From 95baeed75ed2dfe6d20e42f651ca1adbd71dfa1d Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sun, 19 Dec 2021 15:05:23 -0500 Subject: [PATCH] Re-order RUN command --- scripts/Dockerfile-ubuntu_18_04 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/Dockerfile-ubuntu_18_04 b/scripts/Dockerfile-ubuntu_18_04 index 2ceac2b5..0ef8a085 100644 --- a/scripts/Dockerfile-ubuntu_18_04 +++ b/scripts/Dockerfile-ubuntu_18_04 @@ -3,7 +3,9 @@ FROM ubuntu:18.04 AS sunshine-ubuntu_18_04 ARG DEBIAN_FRONTEND=noninteractive ARG TZ="Europe/London" -RUN add-apt-repository ppa:ubuntu-toolchain-r/test && \ +RUN apt-get update -y && \ + apt-get install -y --no-install-recommends software-properties-common && \ + add-apt-repository ppa:ubuntu-toolchain-r/test && \ apt-get update -y && \ apt-get install -y --no-install-recommends \ build-essential \ @@ -29,7 +31,6 @@ RUN add-apt-repository ppa:ubuntu-toolchain-r/test && \ libxfixes-dev \ libxrandr-dev \ libxtst-dev \ - software-properties-common \ wget \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*