From cfa27d37fd66313e1dda4c6b579eec5c85eb0cd2 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 2 Dec 2024 12:03:17 +0100 Subject: [PATCH 1/3] fix: flutter apt-get install & update as single command --- earthly/flutter/Earthfile | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/earthly/flutter/Earthfile b/earthly/flutter/Earthfile index bad1d7bba..c609d7aba 100644 --- a/earthly/flutter/Earthfile +++ b/earthly/flutter/Earthfile @@ -41,8 +41,24 @@ flutter-base: ENV DEBIAN_FRONTEND=noninteractive - RUN apt-get update --fix-missing - RUN apt-get install -y apt-utils git curl gzip unzip bzip2 bash jq gpg lcov tar wget xz-utils + # Runing update & install as same command so if either fails, the whole step fails and + # is not cached. + RUN apt-get update --fix-missing && \ + apt-get install -y \ + apt-utils \ + git \ + curl \ + gzip \ + unzip \ + bzip2 \ + bash \ + jq \ + gpg \ + lcov \ + tar \ + wget \ + xz-utils \ + && rm -rf /var/lib/apt/lists/* DO +INSTALL_FLUTTER From 386fc5e762ca2635daf612ad92efb5fa29adabd7 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 2 Dec 2024 12:40:11 +0100 Subject: [PATCH 2/3] fix: spelling --- earthly/flutter/Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earthly/flutter/Earthfile b/earthly/flutter/Earthfile index c609d7aba..6422e65a5 100644 --- a/earthly/flutter/Earthfile +++ b/earthly/flutter/Earthfile @@ -41,7 +41,7 @@ flutter-base: ENV DEBIAN_FRONTEND=noninteractive - # Runing update & install as same command so if either fails, the whole step fails and + # Runing update and install as same command so if either fails, the whole step fails and # is not cached. RUN apt-get update --fix-missing && \ apt-get install -y \ From 7befff14ccf766fa085acba6a53954402cd1e634 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 2 Dec 2024 12:44:38 +0100 Subject: [PATCH 3/3] fix: spelling --- earthly/flutter/Earthfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/earthly/flutter/Earthfile b/earthly/flutter/Earthfile index 6422e65a5..489d06238 100644 --- a/earthly/flutter/Earthfile +++ b/earthly/flutter/Earthfile @@ -41,8 +41,7 @@ flutter-base: ENV DEBIAN_FRONTEND=noninteractive - # Runing update and install as same command so if either fails, the whole step fails and - # is not cached. + # Update and install as same command so if either fails, the whole step fails and is not cached. RUN apt-get update --fix-missing && \ apt-get install -y \ apt-utils \