Skip to content

Commit

Permalink
add aws session manager plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenruizdegauna committed Jan 23, 2024
1 parent 0c984dd commit 84d19bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci-runner-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add -
RUN add-apt-repository --yes --update "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" \
&& apt install -y terraform


# Requirements to manage EC2 instances using SSM. This should be moved into the fargate-runner-action Dockerfile \
RUN python3 -m pip install boto3 && \
curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb" -o "session-manager-plugin.deb" && \
dpkg -i session-manager-plugin.deb

RUN mkdir ~/.ssh/

COPY ./entrypoint.sh /entrypoint.sh
Expand Down

0 comments on commit 84d19bf

Please sign in to comment.