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 63e9eb9 commit 15e1bde
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,8 +1,5 @@
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 @@ -11,6 +8,9 @@ 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 15e1bde

Please sign in to comment.