Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
cgundy committed Jul 30, 2024
1 parent 15e1bde commit 79a35ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/minimal-runner-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 \
Expand Down

0 comments on commit 79a35ca

Please sign in to comment.