{"id":51075200,"url":"https://github.com/uoohyo/docker-stm32-cmake","last_synced_at":"2026-06-23T13:33:36.268Z","repository":{"id":356026693,"uuid":"1222131825","full_name":"uoohyo/docker-stm32-cmake","owner":"uoohyo","description":"STM32CubeCLT with CMake and GNU ARM toolchain for STM32 development","archived":false,"fork":false,"pushed_at":"2026-05-14T06:32:48.000Z","size":305,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-14T07:28:41.878Z","etag":null,"topics":["ci","docker","linux","stm","stm32","stm32cube","stm32cubeclt","stmicroelectronics"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/uoohyo/stm32-cmake","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uoohyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2026-04-27T04:28:26.000Z","updated_at":"2026-05-14T06:32:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/uoohyo/docker-stm32-cmake","commit_stats":null,"previous_names":["uoohyo/docker-stm32-cmake"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uoohyo/docker-stm32-cmake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uoohyo%2Fdocker-stm32-cmake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uoohyo%2Fdocker-stm32-cmake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uoohyo%2Fdocker-stm32-cmake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uoohyo%2Fdocker-stm32-cmake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uoohyo","download_url":"https://codeload.github.com/uoohyo/docker-stm32-cmake/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uoohyo%2Fdocker-stm32-cmake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34691989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"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":["ci","docker","linux","stm","stm32","stm32cube","stm32cubeclt","stmicroelectronics"],"created_at":"2026-06-23T13:33:35.600Z","updated_at":"2026-06-23T13:33:36.261Z","avatar_url":"https://github.com/uoohyo.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-stm32-cmake\n\n[![Build](https://img.shields.io/github/actions/workflow/status/uoohyo/docker-stm32-cmake/build-all-versions.yml?branch=main\u0026style=flat-square\u0026logo=github-actions\u0026label=build)](https://github.com/uoohyo/docker-stm32-cmake/actions/workflows/build-all-versions.yml)\n[![Docker Pulls](https://img.shields.io/docker/pulls/uoohyo/stm32-cmake?style=flat-square\u0026logo=docker)](https://hub.docker.com/r/uoohyo/stm32-cmake)\n[![Docker Image Size](https://img.shields.io/docker/image-size/uoohyo/stm32-cmake/latest?style=flat-square\u0026logo=docker)](https://hub.docker.com/r/uoohyo/stm32-cmake)\n[![Docker Image Version](https://img.shields.io/docker/v/uoohyo/stm32-cmake?style=flat-square\u0026logo=docker\u0026label=version)](https://hub.docker.com/r/uoohyo/stm32-cmake)\n[![GitHub Stars](https://img.shields.io/github/stars/uoohyo/docker-stm32-cmake?style=flat-square\u0026logo=github)](https://github.com/uoohyo/docker-stm32-cmake/stargazers)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)\n\n\u003c!-- markdownlint-disable MD033 --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"./.github/docker-stm32-cmake.png\" width=\"256\" height=\"256\" alt=\"docker-stm32-cmake\" /\u003e\u003c/td\u003e\n    \u003ctd valign=\"top\"\u003e\n      \u003cb\u003eSTM32CubeCLT Version Build Status\u003c/b\u003e\n      \u003ctable\u003e\n        \u003ctr\u003e\u003cth\u003eVersion\u003c/th\u003e\u003cth\u003eStatus\u003c/th\u003e\u003c/tr\u003e\n\u003c!-- VERSION_TABLE_START --\u003e\n\n\u003ctr\u003e\u003ctd\u003ev1.21.0\u003c/td\u003e\u003ctd\u003e\u003ca href=\"https://hub.docker.com/r/uoohyo/stm32-cmake/tags?name=1.21.0\"\u003e\u003cimg src=\"https://img.shields.io/badge/available-2496ED?style=flat-square\u0026logo=docker\u0026logoColor=white\" alt=\"available\" /\u003e\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003ev1.20.0\u003c/td\u003e\u003ctd\u003e\u003ca href=\"https://hub.docker.com/r/uoohyo/stm32-cmake/tags?name=1.20.0\"\u003e\u003cimg src=\"https://img.shields.io/badge/available-2496ED?style=flat-square\u0026logo=docker\u0026logoColor=white\" alt=\"available\" /\u003e\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003ev1.19.0\u003c/td\u003e\u003ctd\u003e\u003ca href=\"https://hub.docker.com/r/uoohyo/stm32-cmake/tags?name=1.19.0\"\u003e\u003cimg src=\"https://img.shields.io/badge/available-2496ED?style=flat-square\u0026logo=docker\u0026logoColor=white\" alt=\"available\" /\u003e\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003ev1.18.0\u003c/td\u003e\u003ctd\u003e\u003ca href=\"https://hub.docker.com/r/uoohyo/stm32-cmake/tags?name=1.18.0\"\u003e\u003cimg src=\"https://img.shields.io/badge/available-2496ED?style=flat-square\u0026logo=docker\u0026logoColor=white\" alt=\"available\" /\u003e\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003ev1.17.0\u003c/td\u003e\u003ctd\u003e\u003ca href=\"https://hub.docker.com/r/uoohyo/stm32-cmake/tags?name=1.17.0\"\u003e\u003cimg src=\"https://img.shields.io/badge/available-2496ED?style=flat-square\u0026logo=docker\u0026logoColor=white\" alt=\"available\" /\u003e\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003ev1.16.0\u003c/td\u003e\u003ctd\u003e\u003ca href=\"https://hub.docker.com/r/uoohyo/stm32-cmake/tags?name=1.16.0\"\u003e\u003cimg src=\"https://img.shields.io/badge/available-2496ED?style=flat-square\u0026logo=docker\u0026logoColor=white\" alt=\"available\" /\u003e\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003c!-- VERSION_TABLE_END --\u003e\n        \u003ctr\u003e\u003ctd colspan=\"2\" align=\"center\"\u003e\u003ca href=\"docs/versions.md\"\u003e\u003cb\u003e📋 See all versions →\u003c/b\u003e\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n      \u003c/table\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\u003c!-- markdownlint-enable MD033 --\u003e\n\nA Docker image providing a headless CI/CD environment for [STM32CubeCLT](https://www.st.com/en/development-tools/stm32cubeclt.html) (STMicroelectronics Command Line Tools). Each image ships with STM32CubeCLT pre-installed — ready to use immediately with **no runtime installation required**.\n\n\u003e **Note:** STM32CubeCLT is fully installed during the Docker build process. The container starts instantly with all tools ready to use.\n\n## Usage\n\nOnce the container is running, use CLI commands to build and program your STM32 projects.\n\n**Build with CMake:**\n\n    docker run -it -v $(pwd):/workspace uoohyo/stm32-cmake:latest bash -c \"\n      cd /workspace/your-project\n      mkdir -p build \u0026\u0026 cd build\n      cmake .. -G Ninja\n      ninja\n    \"\n\n**Compile with Make:**\n\n    docker run -it -v $(pwd):/workspace uoohyo/stm32-cmake:latest bash -c \"\n      cd /workspace/your-project\n      make\n    \"\n\n**Generate code with STM32CubeMX:**\n\n    docker run -it -v $(pwd):/workspace uoohyo/stm32-cmake:latest bash -c \"\n      cd /workspace\n      STM32CubeMX -q your-project.ioc\n    \"\n\n**Program STM32 device:**\n\n    docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb \\\n      -v $(pwd):/workspace uoohyo/stm32-cmake:latest bash -c \"\n      STM32_Programmer_CLI -c port=SWD -w firmware.hex -v -rst\n    \"\n\n## Quick Start\n\nPull a version-specific image from Docker Hub:\n\n    docker pull uoohyo/stm32-cmake:1.16.0\n\nOr use the latest:\n\n    docker pull uoohyo/stm32-cmake:latest\n\nRun the container:\n\n    docker run -it -v $(pwd):/workspace uoohyo/stm32-cmake:1.16.0\n\nSee [docs/versions.md](docs/versions.md) for all available versions.\n\n## Building Locally\n\nThis project uses a two-step build process where the STM32CubeCLT installer is downloaded by GitHub Actions before Docker build.\n\nFor local builds, you need to download the installer manually:\n\n1. Download STM32CubeCLT from [st.com](https://www.st.com/en/development-tools/stm32cubeclt.html) (requires free ST account)\n2. Place the `.zip` file in `cubeclt_download/` directory\n3. Build the image:\n\n       mkdir -p cubeclt_download\n       # Place your downloaded .zip file in cubeclt_download/\n       docker build --build-arg CUBECLT_VERSION=\"1.16.0\" -t stm32-cmake:local .\n\n## Included Tools\n\n| Component               | Description                                    |\n| ----------------------- | ---------------------------------------------- |\n| **STM32CubeMX**         | STM32 initialization code generator            |\n| **STM32CubeProgrammer** | STM32 programming and debugging tool           |\n| **GNU ARM Toolchain**   | arm-none-eabi-gcc for ARM Cortex-M compilation |\n| **CMake**               | Build system generator                         |\n| **Ninja**               | Fast build system                              |\n| **Git**                 | Version control                                |\n\n## CI/CD Integration\n\n**GitHub Actions:**\n\n    name: Build STM32 Firmware\n    on: [push]\n    jobs:\n      build:\n        runs-on: ubuntu-latest\n        container:\n          image: uoohyo/stm32-cmake:latest\n        steps:\n          - uses: actions/checkout@v4\n          - name: Build\n            run: |\n              mkdir -p build \u0026\u0026 cd build\n              cmake .. -G Ninja \u0026\u0026 ninja\n\n**GitLab CI:**\n\n    build:\n      image: uoohyo/stm32-cmake:latest\n      script:\n        - mkdir -p build \u0026\u0026 cd build\n        - cmake .. -G Ninja \u0026\u0026 ninja\n\n## License\n\n[MIT License](./LICENSE)\n\nCopyright (c) 2026 [uoohyo](https://github.com/uoohyo)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuoohyo%2Fdocker-stm32-cmake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuoohyo%2Fdocker-stm32-cmake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuoohyo%2Fdocker-stm32-cmake/lists"}