You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker build -t pre-commit --build-arg INSTALL_ALL=true .
docker run -v $(pwd):/lint -w /lint pre-commit run -a
[INFO] Initializing environment for https://github.com/antonbabenko/pre-commit-terraform.
An unexpected error has occurred: CalledProcessError: command: ('/usr/bin/git', 'fetch', 'origin', '--tags')
return code: 128
expected return code: 0
stdout: (none)
stderr:
/usr/lib/git-core/git-remote-https: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
Check the log at /root/.cache/pre-commit/pre-commit.log
@BGarber42 please check that the docker image in the docker_to_alpine branch works fine for you.
git clone git@github.com:antonbabenko/pre-commit-terraform.git
cd pre-commit-terraform
git checkout docker_to_alpine
# Install the latest versions of all the tools
docker build -t pre-commit --build-arg INSTALL_ALL=true .
Describe the bug
Missing curl gnutls library when using docker
How can we reproduce it?
Environment information
docker info
:command output
Docker image tag/git commit:
Tools versions. Don't forget to specify right tag in command -
TAG=latest && docker run --entrypoint cat pre-commit:$TAG /usr/bin/tools_versions_info
.pre-commit-config.yaml
:file content
The text was updated successfully, but these errors were encountered: