From e1fa1fcbc3de1c0b57f6fe2a82f77a8ed3a138b1 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Tue, 20 Aug 2024 09:55:30 -0400 Subject: [PATCH] fix: add `jq`, `git`, `unzip` and `curl` to default packages installed (#3056) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: add `git` and `curl` to default packages installed Hi 👋🏼 These packages are used in a ton of actions on the marketplace. It would be nice if they were installed and ready for use instead of having to install them with `apt-get` on every single Github workflow. * Update Dockerfile * Update images/Dockerfile Co-authored-by: Guillermo Caracuel <633810+gcaracuel@users.noreply.github.com> * Update images/Dockerfile Co-authored-by: Tingluo Huang --------- Co-authored-by: Guillermo Caracuel <633810+gcaracuel@users.noreply.github.com> Co-authored-by: Tingluo Huang --- images/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/images/Dockerfile b/images/Dockerfile index dd8437e1d..7064053ac 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -41,12 +41,13 @@ ENV ImageOS=ubuntu22 # 'gpg-agent' and 'software-properties-common' are needed for the 'add-apt-repository' command that follows RUN apt update -y \ - && apt install -y --no-install-recommends sudo lsb-release gpg-agent software-properties-common \ + && apt install -y --no-install-recommends sudo lsb-release gpg-agent software-properties-common curl jq unzip \ && rm -rf /var/lib/apt/lists/* # Configure git-core/ppa based on guidance here: https://git-scm.com/download/linux RUN add-apt-repository ppa:git-core/ppa \ - && apt update -y + && apt update -y \ + && apt install -y --no-install-recommends git RUN adduser --disabled-password --gecos "" --uid 1001 runner \ && groupadd docker --gid 123 \