Title: shutil.Error while installing hooks (alpine docker, musl) · Issue #655 · pre-commit/pre-commit · GitHub
Open Graph Title: shutil.Error while installing hooks (alpine docker, musl) · Issue #655 · pre-commit/pre-commit
X Title: shutil.Error while installing hooks (alpine docker, musl) · Issue #655 · pre-commit/pre-commit
Description: We are moving to docker based CI and I'm trying to build a pre-commit testing container that is pre-populated with our hooks. Could you help me diagnose the cause of this failure? When the hooks try to install I get: Initialized empty Gi...
Open Graph Description: We are moving to docker based CI and I'm trying to build a pre-commit testing container that is pre-populated with our hooks. Could you help me diagnose the cause of this failure? When the hooks tr...
X Description: We are moving to docker based CI and I'm trying to build a pre-commit testing container that is pre-populated with our hooks. Could you help me diagnose the cause of this failure? When the hook...
Opengraph URL: https://github.com/pre-commit/pre-commit/issues/655
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"shutil.Error while installing hooks (alpine docker, musl) ","articleBody":"We are moving to docker based CI and I'm trying to build a pre-commit testing container that is pre-populated with our hooks. Could you help me diagnose the cause of this failure? When the hooks try to install I get:\r\n\r\n```\r\nInitialized empty Git repository in /root/pre-commit/.git/\r\n[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.git.\r\n[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.git.\r\n[INFO] Once installed this environment will be reused.\r\n[INFO] This may take a few minutes...\r\nAn unexpected error has occurred: CalledProcessError: Command: ('/root/.cache/pre-commit/repojfihsrn1/py_env-python3.5/bin/python3.5', '/root/.cache/pre-commit/repojfihsrn1/py_env-python3.5/bin/pip', 'install', '.')\r\nReturn code: 2\r\nExpected return code: 0\r\nOutput:\r\n Processing /root/.cache/pre-commit/repojfihsrn1\r\n\r\n```\r\nStack trace attached\r\n[github-issue-655-trace.txt](https://github.com/pre-commit/pre-commit/files/1442524/github-issue-655-trace.txt)\r\n\r\n","author":{"url":"https://github.com/FatherShawn","@type":"Person","name":"FatherShawn"},"datePublished":"2017-11-03T21:24:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/655/pre-commit/issues/655"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8f22daad-ef4f-c6d5-9e83-64741916db81 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D24A:3E6EAA:6BB58C0:97DBBB4:6A4FF98C |
| html-safe-nonce | 1499d6a645029bfe53b7a149a5fd50e24e612b8d3e3ed6e3ff3178584beadf55 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjRBOjNFNkVBQTo2QkI1OEMwOjk3REJCQjQ6NkE0RkY5OEMiLCJ2aXNpdG9yX2lkIjoiODIyODM4Mzk1OTA0MzUzNzI5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c5c9cf4a7b9b20c08fcd4f8da560ff203e4960b63bc4a19a82fb620ae8bbfa45 |
| hovercard-subject-tag | issue:271122952 |
| github-keyboard-shortcuts | repository,issues,commits,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pre-commit/pre-commit/655/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5a706d71d79e33e6fbe8402915961cd8a5a535bf2c94f1ffb5ccaece24839ee4/pre-commit/pre-commit/issues/655 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5a706d71d79e33e6fbe8402915961cd8a5a535bf2c94f1ffb5ccaece24839ee4/pre-commit/pre-commit/issues/655 |
| og:image:alt | We are moving to docker based CI and I'm trying to build a pre-commit testing container that is pre-populated with our hooks. Could you help me diagnose the cause of this failure? When the hooks tr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | FatherShawn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3bd0ff5d28a87b4801a63fb38c2a21a91b0a700dca159dc9416aeae05771b899 |
| turbo-cache-control | no-preview |
| go-import | github.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git |
| octolytics-dimension-user_id | 6943086 |
| octolytics-dimension-user_login | pre-commit |
| octolytics-dimension-repository_id | 17689377 |
| octolytics-dimension-repository_nwo | pre-commit/pre-commit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17689377 |
| octolytics-dimension-repository_network_root_nwo | pre-commit/pre-commit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 67a336083e4dcb40224dc2c01cd4c7ed413bdb09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width