{"id":31807836,"url":"https://github.com/florinbuzec/mysql-src-h","last_synced_at":"2026-04-20T04:05:03.807Z","repository":{"id":314302049,"uuid":"1054918604","full_name":"florinbuzec/mysql-src-h","owner":"florinbuzec","description":"Header files for including in UDF CGo libraries for MySQL/MariaDb","archived":false,"fork":false,"pushed_at":"2025-09-24T09:45:14.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-24T11:19:35.502Z","etag":null,"topics":["dockerfile","dockerhub-image","headers","mariadb","mysql","sources"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/florinbuzec/mysql-src-h/tags","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/florinbuzec.png","metadata":{"files":{"readme":"README.DockerHub.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-11T14:06:16.000Z","updated_at":"2025-09-24T09:33:14.000Z","dependencies_parsed_at":"2025-09-11T18:43:33.497Z","dependency_job_id":"8e384121-4b64-4ae3-9359-c66f98601a53","html_url":"https://github.com/florinbuzec/mysql-src-h","commit_stats":null,"previous_names":["florinbuzec/mysql-src-h"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/florinbuzec/mysql-src-h","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florinbuzec%2Fmysql-src-h","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florinbuzec%2Fmysql-src-h/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florinbuzec%2Fmysql-src-h/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florinbuzec%2Fmysql-src-h/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/florinbuzec","download_url":"https://codeload.github.com/florinbuzec/mysql-src-h/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florinbuzec%2Fmysql-src-h/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006247,"owners_count":26084061,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dockerfile","dockerhub-image","headers","mariadb","mysql","sources"],"created_at":"2025-10-11T04:38:10.876Z","updated_at":"2025-10-11T04:38:11.851Z","avatar_url":"https://github.com/florinbuzec.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## MySQL/MariaDb source headers\n\n- Source code: [GitHub](https://github.com/florinbuzec/mysql-src-h)\n\n\u003e This Docker image contains files that are intended to be used as included headers in CGO UDF development.\n\n\u003e They are stored in ``/usr/include/mysql/`` folder\n\n\u003e Please select the appropiate tag in order to change the software and version of the *Dockerfile*.\n\n```go\npackage main\n\n/*\n#cgo CFLAGS: -I/usr/include/mysql -DMYSQL_DYNAMIC_PLUGIN -DMYSQL_ABI_CHECK\n#include \u003cstdio.h\u003e\n#include \u003cmysql.h\u003e\n// ...\n*/\nimport \"C\"\n\n// ...\n```\n\n\u003e Actual usage as Docker base:\n```docker\n// ...\nCOPY --from=florinbuzec/mysql-src-h:mariadb-10.2.44 --chown=mysql:mysql /usr/include/mysql /usr/include/mysql\n\nWORKDIR /app\n\n// ...\n\nRUN go build -buildmode=c-shared -ldflags \"-s -w\" -o ./dist/library.so\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorinbuzec%2Fmysql-src-h","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorinbuzec%2Fmysql-src-h","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorinbuzec%2Fmysql-src-h/lists"}