Skip to content

Docker Image doesn't get compiled #217

@ivankorn

Description

@ivankorn
Archive:  tflint.zip
  inflating: tflint
curl: (3) <url> malformed
The command '/bin/sh -c add-apt-repository ppa:deadsnakes/ppa &&     apt install -y python3.7 python3-pip &&     pip3 install pre-commit==${PRE_COMMIT_VERSION} &&     curl -L "$(curl -s https://api.github.com/repos/terraform-docs/terraform-docs/releases | grep -o -E "https://.+?${TERRAFORM_DOCS_VERSION}-linux-amd64.tar.gz")" > terraform-docs.tgz && tar xzf terraform-docs.tgz && chmod +x terraform-docs && mv terraform-docs /usr/bin/ &&     curl -L "$(curl -s https://api.github.com/repos/terraform-linters/tflint/releases | grep -o -E "https://.+?/${TFLINT_VERSION}/tflint_linux_amd64.zip")" > tflint.zip && unzip tflint.zip && rm tflint.zip && mv tflint /usr/bin/ &&     curl -L "$(curl -s https://api.github.com/repos/tfsec/tfsec/releases | grep -o -E "https://.+?/${TFSEC_VERSION}/tfsec-linux-amd64")" > tfsec && chmod +x tfsec && mv tfsec /usr/bin/ &&     python3.7 -m pip install -U checkov==${CHECKOV_VERSION}' returned a non-zero code: 3
✘-3 ~/Soft/no-rpms/pre-commit-terraform [master|✔]
~                                                     

The command

'/bin/sh -c add-apt-repository ppa:deadsnakes/ppa && apt install -y python3.7 python3-pip && pip3 install pre-commit==${PRE_COMMIT_VERSION} && curl -L "$(curl -s https://api.github.com/repos/terraform-docs/terraform-docs/releases | grep -o -E "https://.+?${TERRAFORM_DOCS_VERSION}-linux-amd64.tar.gz")" > terraform-docs.tgz && tar xzf terraform-docs.tgz && chmod +x terraform-docs && mv terraform-docs /usr/bin/ && curl -L "$(curl -s https://api.github.com/repos/terraform-linters/tflint/releases | grep -o -E "https://.+?/${TFLINT_VERSION}/tflint_linux_amd64.zip")" > tflint.zip && unzip tflint.zip && rm tflint.zip && mv tflint /usr/bin/ && curl -L "$(curl -s https://api.github.com/repos/tfsec/tfsec/releases | grep -o -E "https://.+?/${TFSEC_VERSION}/tfsec-linux-amd64")" > tfsec && chmod +x tfsec && mv tfsec /usr/bin/ && python3.7 -m pip install -U checkov==${CHECKOV_VERSION}' returned a non-zero code: 3

steps to reproduce:

  1. git clone git@github.com:antonbabenko/pre-commit-terraform.git
  2. cd pre-commit-terraform
  3. docker build -t pre-commit .

Metadata

Metadata

Assignees

Labels

area/dockerbugSomething isn't workingdocumentationImprovements or additions to documentationestimate/1hNeed 1 hour to be done

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions