diff --git a/Dockerfile b/Dockerfile index 9a08013..ff776a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,10 @@ RUN curl -LO "https://dl.k8s.io/release/v${KUBE_VERSION}/bin/linux/amd64/kubectl chmod +x kubectl && \ mv kubectl /usr/local/bin +ARG SOPS_VERSION=3.8.0 +RUN curl --connect-timeout 30 --retry 5 -L "https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux.amd64" -o "/usr/local/bin/sops" && \ + chmod +x /usr/local/bin/sops + ARG TFLINT_VERSION=0.48.0 RUN curl --connect-timeout 30 --retry 5 -L "https://github.com/terraform-linters/tflint/releases/download/v${TFLINT_VERSION}/tflint_linux_amd64.zip" -o /tmp/tflint.zip && \ unzip -q /tmp/tflint.zip -d /tmp && \ @@ -38,6 +42,7 @@ ARG DEBIAN_FRONTEND=noninteractive COPY --from=builder /usr/local/bin/terraform /usr/local/bin/terraform COPY --from=builder /usr/local/aws-cli /usr/local/aws-cli COPY --from=builder /usr/local/bin/kubectl /usr/local/bin/kubectl +COPY --from=builder /usr/local/bin/sops /usr/local/bin/sops COPY --from=builder /usr/local/bin/tflint /usr/local/bin/tflint RUN ln -s /usr/local/aws-cli/v2/current/dist/aws /usr/local/bin/aws && \