File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,18 @@ RUN apt-get update -y && apt-get upgrade -y && useradd -m docker
1010# install python and the packages the your code depends on along with jq so we can parse JSON
1111# add additional packages as necessary
1212RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
13- curl jq build-essential libssl-dev libffi-dev python3 python3-venv python3-dev python3-pip unzip git libicu-dev yq rsync
13+ curl jq build-essential libssl-dev libffi-dev python3 python3-venv python3-dev python3-pip unzip git libicu-dev yq rsync \
14+ openssh-client nodejs npm
15+
16+ # Install GitHub CLI
17+ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
18+ && chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
19+ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
20+ && apt-get update && apt-get install -y gh
21+
22+ # Install AWS CLI v2
23+ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
24+ && unzip awscliv2.zip && ./aws/install && rm -rf awscliv2.zip aws
1425
1526# cd into the user directory, download and unzip the github actions runner
1627RUN cd /home/docker && mkdir actions-runner && cd actions-runner \
You can’t perform that action at this time.
0 commit comments