Skip to content

Commit

Permalink
Install awscli in runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hundt committed Jan 21, 2025
1 parent 26432e2 commit 94d2ede
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions latest.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ RUN apt-get update \
unzip \
&& rm -rf /var/lib/apt/lists

# install awscli because the standard runner has it
RUN apt-get -qq -y install awscli

# Remove setuid and setgid permissions after all package installations to address
# https://github.com/goodwithtech/dockle/blob/master/CHECKPOINT.md#cis-di-0008
RUN find / -path /proc -prune -o -perm /6000 -type f -exec chmod a-s {} + || true
Expand Down
3 changes: 3 additions & 0 deletions playwright.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ RUN apt-get update \
unzip \
&& rm -rf /var/lib/apt/lists

# install awscli because the standard runner has it
RUN apt-get -qq -y install awscli

WORKDIR /home/runner
USER runner

Expand Down

0 comments on commit 94d2ede

Please sign in to comment.