Skip to content

Commit

Permalink
Update Dockerfile to install yq (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgepstaylor authored Oct 1, 2024
1 parent 7232e1f commit eb6aaf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/delius-ansible-aws/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ LABEL org.opencontainers.image.authors="HMPPS Probation Webops Team (probation-w

RUN apt update && apt install -y curl git bash jq && apt clean

RUN curl -L https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -o /usr/bin/yq &&\
chmod +x /usr/bin/yq

RUN if 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; then \
echo "Session manager plugin installed"; \
else \
Expand Down

0 comments on commit eb6aaf1

Please sign in to comment.