Skip to content

Commit 24707da

Browse files
committed
install aws cli and yarn
1 parent 8a8fced commit 24707da

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

runner/actions-runner.ubuntu-22.04.dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,17 @@ RUN wget --no-check-certificate --user-agent=Mozilla -O apache-pulsar-client-dev
9696
&& wget --no-check-certificate --user-agent=Mozilla -O apache-pulsar-client.deb "https://archive.apache.org/dist/pulsar/pulsar-2.8.0/DEB/apache-pulsar-client.deb" \
9797
&& apt install ./apache-pulsar-client*.deb
9898

99+
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o /tmp/awscliv2.zip \
100+
&& unzip -q /tmp/awscliv2.zip -d /tmp \
101+
&& rm /tmp/awscliv2.zip \
102+
&& ./tmp/aws/install \
103+
&& rm -rf /tmp/aws/
104+
105+
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
106+
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
107+
&& apt update -y \
108+
&& apt install -y --no-install-recommends yarn
109+
99110
# We place the scripts in `/usr/bin` so that users who extend this image can
100111
# override them with scripts of the same name placed in `/usr/local/bin`.
101112
COPY entrypoint.sh startup.sh logger.sh graceful-stop.sh update-status /usr/bin/

0 commit comments

Comments
 (0)