From 79a35ca2bab48af63516344d8e5b137fe376316f Mon Sep 17 00:00:00 2001 From: Carly Gundy Date: Tue, 30 Jul 2024 23:16:37 +0200 Subject: [PATCH] change --- .github/minimal-runner-image/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/minimal-runner-image/Dockerfile b/.github/minimal-runner-image/Dockerfile index 00fdd938aed..f9bdb59ade0 100644 --- a/.github/minimal-runner-image/Dockerfile +++ b/.github/minimal-runner-image/Dockerfile @@ -1,5 +1,8 @@ FROM ubuntu:20.04 +RUN apt -yq update && \ + apt -yq install --no-install-recommends git curl wget ca-certificates sudo build-essential + RUN groupadd -g 1001 runner && useradd -ms /bin/bash -u 1001 -g 1001 runner && \ echo "ALL ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers @@ -8,9 +11,6 @@ USER runner # Set PATH for runner user ENV PATH=/ic/bin:/home/runner/.cargo/bin:/home/runner/.local/bin:$PATH -RUN apt -yq update && \ - apt -yq install --no-install-recommends git curl wget ca-certificates sudo build-essential - # Install rustup and cargo ARG RUST_VERSION=1.79.0 RUN curl --fail https://sh.rustup.rs -sSf \