{"id":20532531,"url":"https://github.com/joshdk/distroless-monotonic-repro","last_synced_at":"2026-02-22T23:34:08.590Z","repository":{"id":137716126,"uuid":"123503347","full_name":"joshdk/distroless-monotonic-repro","owner":"joshdk","description":"🕔 Repro for a monotonic \"no suitable implementation for this system\" issue when using distroless","archived":false,"fork":false,"pushed_at":"2018-03-01T23:22:09.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-30T11:55:03.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshdk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-01T23:12:23.000Z","updated_at":"2018-03-01T23:14:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"6763d6a8-dfac-445e-a002-7b950674f724","html_url":"https://github.com/joshdk/distroless-monotonic-repro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joshdk/distroless-monotonic-repro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Fdistroless-monotonic-repro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Fdistroless-monotonic-repro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Fdistroless-monotonic-repro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Fdistroless-monotonic-repro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshdk","download_url":"https://codeload.github.com/joshdk/distroless-monotonic-repro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Fdistroless-monotonic-repro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29730763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T20:09:16.275Z","status":"ssl_error","status_checked_at":"2026-02-22T20:09:13.750Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T00:15:23.439Z","updated_at":"2026-02-22T23:34:08.556Z","avatar_url":"https://github.com/joshdk.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Distroless + Monotonic Repro\n\n🕔 Repro for a monotonic \"no suitable implementation for this system\" issue when using distroless\n\n## Running\n\nFirst run `docker build -t repro .` in the root of this repository.\n\nThen run `docker run --rm repro` to see the following error:\n\n```\nTraceback (most recent call last):\n  File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\n  File \"/usr/lib/python2.7/monotonic.py\", line 169, in \u003cmodule\u003e\n    raise RuntimeError('no suitable implementation for this system: ' + repr(e))\nRuntimeError: no suitable implementation for this system: OSError(2, 'No such file or directory')\n```\n\n## Observations\n\nWhile debugging, I removed the outer `try`/`except` layer, and saw a (slightly better) exception:\n\n```\nTraceback (most recent call last):\n  File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\n  File \"/usr/lib/python2.7/monotonic.py\", line 137, in \u003cmodule\u003e\n    clock_gettime = ctypes.CDLL(ctypes.util.find_library('rt'),\n  File \"/usr/lib/python2.7/ctypes/util.py\", line 285, in find_library\n    return _findSoname_ldconfig(name) or _get_soname(_findLib_gcc(name))\n  File \"/usr/lib/python2.7/ctypes/util.py\", line 103, in _findLib_gcc\n    stdout=subprocess.PIPE)\n  File \"/usr/lib/python2.7/subprocess.py\", line 390, in __init__\n    errread, errwrite)\n  File \"/usr/lib/python2.7/subprocess.py\", line 1024, in _execute_child\n    raise child_exception\nOSError: [Errno 2] No such file or directory\n```\n\nSo (assuming I'm reading this correctly) it appears that it's attempting to locate `librt` and failing. This is not very surprising, given the minimal nature of the `distroless` images.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdk%2Fdistroless-monotonic-repro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshdk%2Fdistroless-monotonic-repro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdk%2Fdistroless-monotonic-repro/lists"}