diff --git a/latest.Dockerfile b/latest.Dockerfile index 63df72c..6b671a3 100644 --- a/latest.Dockerfile +++ b/latest.Dockerfile @@ -42,6 +42,12 @@ RUN apt-get update \ unzip \ && rm -rf /var/lib/apt/lists +# install awscli because the standard runner has it +# per https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html +RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ + && unzip awscliv2.zip \ + && ./aws/install + # 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 diff --git a/playwright.Dockerfile b/playwright.Dockerfile index 9a689ca..be4dd8c 100644 --- a/playwright.Dockerfile +++ b/playwright.Dockerfile @@ -35,6 +35,12 @@ RUN apt-get update \ unzip \ && rm -rf /var/lib/apt/lists +# install awscli because the standard runner has it +# per https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html +RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ + && unzip awscliv2.zip \ + && ./aws/install + WORKDIR /home/runner USER runner