From 14020ac6270867644f11fef77b058234bc3b968f Mon Sep 17 00:00:00 2001 From: TomAFrench Date: Tue, 25 Jun 2024 11:21:00 +0000 Subject: [PATCH] chore: split off initial install from chromium install --- yarn-project/Earthfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yarn-project/Earthfile b/yarn-project/Earthfile index 5d20ae29ad6..b9cf3a9ae51 100644 --- a/yarn-project/Earthfile +++ b/yarn-project/Earthfile @@ -208,7 +208,8 @@ end-to-end-base: RUN apt-get update && apt-get install -y software-properties-common \ && add-apt-repository ppa:xtradeb/apps -y && apt-get update \ && apt-get install -y wget gnupg \ - && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ + && rm -rf /var/lib/apt/lists/* + RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ && echo "deb [arch=$(dpkg --print-architecture)] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \ && apt update && apt install curl chromium nodejs netcat-openbsd -y \ && rm -rf /var/lib/apt/lists/*