Skip to content

Commit afeaa21

Browse files
author
az
committed
updated docker image
1 parent 5ea46de commit afeaa21

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

‎Dockerfile‎

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ RUN set -eux; \
5454
rm /tmp/terraform.zip && \
5555
terraform version && \
5656
\
57-
# Install tfcmt v4.14.0
58-
echo "Installing tfcmt v4.14.0..."; \
59-
curl -fsSL "https://github.com/suzuki-shunsuke/tfcmt/releases/download/v4.14.0/tfcmt_linux_${ARCH}.tar.gz" -o /tmp/tfcmt.tar.gz && \
57+
# Install tfcmt v4.14.5
58+
echo "Installing tfcmt v4.14.5..."; \
59+
curl -fsSL "https://github.com/suzuki-shunsuke/tfcmt/releases/download/v4.14.5/tfcmt_linux_${ARCH}.tar.gz" -o /tmp/tfcmt.tar.gz && \
6060
sudo tar -xzf /tmp/tfcmt.tar.gz -C /usr/local/bin/ tfcmt && \
6161
rm /tmp/tfcmt.tar.gz && \
6262
tfcmt --version && \
@@ -70,6 +70,21 @@ RUN set -eux; \
7070
\
7171
echo "All tools installed successfully!"
7272

73+
74+
ENV PATH="/home/runner/.local/share/aquaproj-aqua/bin:${PATH}"
75+
RUN set -eux; \
76+
curl -sSfL https://raw.githubusercontent.com/aquaproj/aqua-installer/v3.1.2/aqua-installer | bash -s -- -v v2.50.0; \
77+
printf '%s\n' \
78+
'registries:' \
79+
' - type: standard' \
80+
' ref: v4.233.0' \
81+
'packages:' \
82+
' - name: suzuki-shunsuke/tfcmt@v4.14.5' \
83+
' - name: terraform-docs/terraform-docs@v0.18.0' \
84+
> /tmp/aqua.yaml; \
85+
AQUA_CONFIG=/tmp/aqua.yaml aqua install; \
86+
rm /tmp/aqua.yaml
87+
7388
RUN mkdir -p ~/.ssh && \
7489
ssh-keyscan github.com >> ~/.ssh/known_hosts
7590

0 commit comments

Comments
 (0)