{"id":23419425,"url":"https://github.com/bannsec/musl-cross-x86_64-linux","last_synced_at":"2026-03-20T01:21:30.437Z","repository":{"id":63958189,"uuid":"255747582","full_name":"bannsec/musl-cross-x86_64-linux","owner":"bannsec","description":"Cross Compiler musl x64-\u003ex64","archived":false,"fork":false,"pushed_at":"2020-04-25T15:58:51.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T09:11:34.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/bannsec.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}},"created_at":"2020-04-14T23:01:58.000Z","updated_at":"2022-05-09T20:20:11.000Z","dependencies_parsed_at":"2022-11-30T04:01:11.283Z","dependency_job_id":null,"html_url":"https://github.com/bannsec/musl-cross-x86_64-linux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bannsec/musl-cross-x86_64-linux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannsec%2Fmusl-cross-x86_64-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannsec%2Fmusl-cross-x86_64-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannsec%2Fmusl-cross-x86_64-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannsec%2Fmusl-cross-x86_64-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bannsec","download_url":"https://codeload.github.com/bannsec/musl-cross-x86_64-linux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannsec%2Fmusl-cross-x86_64-linux/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263619742,"owners_count":23489558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-12-23T01:17:58.098Z","updated_at":"2026-02-04T00:32:59.383Z","avatar_url":"https://github.com/bannsec.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What\nPre-built build environment for compiling x86_64-linux-musl.\n\n# Running\nSimply volume mount your directory into /data and run whatever compile command you were going to before. This container simply replaces the normal commands with versions for musl compile.\n\nHere's an alias:\n\n```bash\nalias musl-cross-x86_64-linux='sudo docker run -it --rm -v $PWD:/data bannsec/musl-cross-x86_64-linux $@'\n```\n\nAn example of using that would be:\n\n```bash\ncd my-project\nmusl-cross-x86_64-linux\n./configure \u0026\u0026 make\n```\n\n# What's included\n\nThe following libraries are compiled and included by default:\n\n| Library | Version |\n| ------- | ------- |\n| openssl | v1.1.1f |\n| zlib    | v1.2.11 |\n| bzip2   | v1.0.8  |\n| libpcap | v1.9.1  |\n| libgmp  | v6.2.0  |\n| cmake   | v3.17.1 |\n\n# Adding your own library\n\nIf you need a library not here, all you have to do is compile it yourself and set `--prefix /opt/cross`. It should mostly work fine from there.\n\n## Custom FLAGS\n\nSometimes you may want to adjust different compile flags. Please note that some flags have been modified by this container to help make things more seamless. If you're going to modify a compiler variable, be sure to append rather than overwrite.\n\nExample:\n\n```bash\n./configure CFLAGS=\"$CFLAGS -static -Os\" CXXFLAGS=\"$CXXFLAGS -static -Os\"\n```\n\n## Getting Segfaults?\n\nThis container is setup to build and run everything as musl. Things like `apt` will SEGFAULT on you. To fix this, simply:\n\n```bash\nunset LD_LIBRARY_PATH\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbannsec%2Fmusl-cross-x86_64-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbannsec%2Fmusl-cross-x86_64-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbannsec%2Fmusl-cross-x86_64-linux/lists"}