Skip to content

Commit

Permalink
tfc agent
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Boyer committed Jan 12, 2025
1 parent 4d04fc7 commit 4fa6765
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions terraform-agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@ FROM hashicorp/tfc-agent:1.16

USER root

RUN
add-apt-repository ppa:rmescandon/yq
apt-get update && \
RUN apt-get update && \
apt-get install -y \
git \
openssl \
unzip \
zip \
jq \
yq \
gettext \
wget \
gettext-base \
&& rm -rf /var/lib/apt/lists/*

RUN curl -L https://github.com/siderolabs/omni/releases/download/v0.43.0/omnictl-linux-amd64 -o /usr/local/bin/omnictl
RUN chmod +x /usr/local/bin/omnictl

RUN wget https://github.com/mikefarah/yq/releases/download/v4.45.1/yq_linux_amd64 -O /usr/bin/yq \
&& chmod +x /usr/bin/yq

USER tfc-agent

0 comments on commit 4fa6765

Please sign in to comment.